11413 raidctl: NULL pointer errors

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

Information
Toomas Soome
illumos-gate
11413
4854921...
Reviewers
general
raidctl.c: In function 'main':
raidctl.c:267:19: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
  if ((*yesexpr == (char)NULL) ||
                   ^
raidctl.c:268:18: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
      (*yesstr == (char)NULL) ||
                  ^
raidctl.c:269:17: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
      (*nostr == (char)NULL) ||
                 ^
cc1: all warnings being treated as errors

  
Loading...