11168 krb5: NULL pointer errors

Review Request #1953 — Created June 1, 2019 and submitted

tsoome
illumos-gate
11168
07f5b37...
general
In file included from /code/illumos-gate/proto/root_i386/usr/include/iso/stdio_iso.h:53:0,
                 from /code/illumos-gate/proto/root_i386/usr/include/stdio.h:82,
                 from ../ss_internal.h:15,
                 from ../listen.c:17:
../listen.c: In function 'ss_listen':
/code/illumos-gate/proto/root_i386/usr/include/sys/null.h:28:14: error: passing argument 5 of 'gl_trap_signal' makes integer from pointer without a cast [-Werror=int-conversion]
 #define NULL ((void *)0)
              ^
../listen.c:229:65: note: in expansion of macro 'NULL'
     if (gl_trap_signal(gl, SIGINT, GLS_DONT_FORWARD, GLS_ABORT, NULL)) {
                                                                 ^~~~
In file included from ../listen.c:25:0:
/code/illumos-gate/proto/root_i386/usr/include/libtecla.h:1104:5: note: expected 'int' but argument is of type 'void *'
 int gl_trap_signal(GetLine *gl, int signo, unsigned flags,
     ^~~~~~~~~~~~~~
cc1: all warnings being treated as error


ptribble
  1. Ship It!
  2. 
      
tsoome
tsoome
Review request changed

Status: Closed (submitted)

Loading...