10660 swrand: NULL pointer errors

Review Request #1633 — Created April 1, 2019 and submitted

tsoome
illumos-gate
10660
30fa007...
general
../../common/sys/null.h:32:14: error: initialization makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../../common/crypto/io/swrand.c:104:58: note: in expansion of macro 'NULL'
 static crypto_kcf_provider_handle_t swrand_prov_handle = NULL;
                                                          ^~~~
cc1: all warnings being treated as errors


domag02
  1. Ship It!
  2. 
      
andy_js
  1. Ship It!
  2. 
      
glasspelican
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...