11438 vgrind: NULL pointer errors

Review Request #2156 - Created July 11, 2019 and submitted - Latest diff uploaded

Information
Toomas Soome
illumos-gate
11438
a7ce8e7...
Reviewers
general
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

  
Loading...