10788 sha1: NULL pointer errors

Review Request #1753 — Created April 14, 2019 and submitted

tsoome
illumos-gate
10788
0d81c44...
general
In file included from ../../common/sys/param.h:48:0,
                 from ../../common/sys/t_lock.h:38,
                 from ../../common/sys/thread.h:36,
                 from ../../common/sys/modctl.h:35,
                 from ../../common/crypto/io/sha1_mod.c:27:
../../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/sha1_mod.c:197:56: note: in expansion of macro 'NULL'
 static crypto_kcf_provider_handle_t sha1_prov_handle = NULL;
                                                        ^~~~
cc1: all warnings being treated as errors


andy_js
  1. Ship It!
  2. 
      
wiedi
  1. Ship It!
  2. 
      
tsoome
Review request changed

Status: Closed (submitted)

Loading...