1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-16 16:19:10 +00:00

Don't cast NULL pointer argument to putmsg() to (char *)

modified:   src/dlpi.c
This commit is contained in:
Nick Briggs 2020-08-30 13:50:34 -07:00
parent 623594fb89
commit 9c658a4b2c

View File

@ -637,7 +637,7 @@ int dlunitdatareq(int fd, u_char *addrp, int addrlen, u_long minpri, u_long maxp
#ifdef NEVER
if (putmsg(fd, &ctl, &data, 0) < 0)
#else
if (putmsg(fd, (char *)NULL, &data, 0) < 0)
if (putmsg(fd, NULL, &data, 0) < 0)
#endif /* NEVER tst on 9/30/96 jds to see if raw out works */
return -1;
else