11297 chmod: NULL pointer errors

Review Request #2043 - Created July 1, 2019 and submitted

Information
Toomas Soome
illumos-gate
11297
d97b5e5...
Reviewers
general
chmod.c: In function 'parseargs':
chmod.c:556:46: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
      (av[i] != (char *)NULL) && (av[i][0] != (char)NULL);
                                              ^
cc1: all warnings being treated as errors

  
John Levon
Garrett D'Amore
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...