diff options
author | Toomas Soome <tsoome@me.com> | 2018-08-07 13:13:17 +0300 |
---|---|---|
committer | Dan McDonald <danmcd@joyent.com> | 2018-08-09 11:05:38 -0400 |
commit | 380059927f2f5af9148793463b305037707f8613 (patch) | |
tree | 76564af1c86e55f57eea90a7f21c2b0e206defdb /usr/src/boot/lib/libstand/bootp.c | |
parent | cb41b9c565d4eec9e1f06e24d429696f59f2f07d (diff) | |
download | illumos-joyent-380059927f2f5af9148793463b305037707f8613.tar.gz |
9708 loader: libstand warning: pointer targets differ in signedness
Reviewed by: Yuri Pankov <yuripv@yuripv.net>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/boot/lib/libstand/bootp.c')
-rw-r--r-- | usr/src/boot/lib/libstand/bootp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/boot/lib/libstand/bootp.c b/usr/src/boot/lib/libstand/bootp.c index 328a45f9b5..2e8773ca46 100644 --- a/usr/src/boot/lib/libstand/bootp.c +++ b/usr/src/boot/lib/libstand/bootp.c @@ -729,7 +729,7 @@ setenv_(u_char *cp, u_char *ep, struct dhcp_opt *opts) bcopy(cp, buf, size); /* cannot overflow */ buf[size] = '\0'; for (endv = buf; endv; endv = vp) { - u_char *s = NULL; /* semicolon ? */ + char *s = NULL; /* semicolon ? */ /* skip leading whitespace */ while (*endv && strchr(" \t\n\r", *endv)) |