Project

General

Profile

Bug #11438

vgrind: NULL pointer errors

Added by Toomas Soome 5 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:

Description

Build errors with NULL pointer:

    vfontedpr.c: In function 'main':
    vfontedpr.c:270:9: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
       *cp++ = NULL;
             ^
    vfontedpr.c:358:23: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
          pstack[psptr][0] = NULL;
                           ^
    vfontedpr.c: In function 'putScp':
    vfontedpr.c:448:30: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
          pstack[psptr][PNAMELEN] = NULL;
                                  ^
    vfontedpr.c: In function 'isproc':
    vfontedpr.c:807:14: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
         pname[0] = NULL;
                  ^
    cc1: all warnings being treated as errors

Also available in: Atom PDF