]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix a few more machine-specific signed vs. unsigned pointer bufs.
authorTed Lemon <source@isc.org>
Thu, 7 Oct 1999 06:47:50 +0000 (06:47 +0000)
committerTed Lemon <source@isc.org>
Thu, 7 Oct 1999 06:47:50 +0000 (06:47 +0000)
common/bpf.c
common/dlpi.c
common/lpf.c
common/nit.c
common/upf.c

index f18fce1b59e89dcf5f0bdfa64850fea28fc24f20..f6291d7bc368c725e7e2ca325273368f44517066 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: bpf.c,v 1.29 1999/09/09 23:53:13 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: bpf.c,v 1.30 1999/10/07 06:47:49 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -264,7 +264,7 @@ ssize_t send_packet (interface, packet, raw, len, from, to, hto)
        struct sockaddr_in *to;
        struct hardware *hto;
 {
-       int bufp = 0;
+       unsigned bufp = 0;
        unsigned char buf [256];
        struct iovec iov [2];
        int result;
index a79265d4577171b6d85eab90c2935006a87f2af2..59da6962bdbbb3c03f7c6bbd043071753b6ea7f2 100644 (file)
@@ -70,7 +70,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: dlpi.c,v 1.14 1999/09/09 23:53:13 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: dlpi.c,v 1.15 1999/10/07 06:47:50 mellon Exp $ Copyright (c) 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -452,7 +452,7 @@ ssize_t send_packet (interface, packet, raw, len, from, to, hto)
        struct sockaddr_in *to;
        struct hardware *hto;
 {
-       int dbuflen;
+       unsigned dbuflen;
        unsigned char dbuf [1536];
        unsigned char sap [2];
        unsigned char dstaddr [DLPI_MAXDLADDR];
index 924d7cd1869455d1712a6923d9f7611a6df2baa7..a02f80425aa1fb937d408dcad89367f44e494104 100644 (file)
@@ -23,7 +23,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: lpf.c,v 1.16 1999/09/09 23:53:14 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: lpf.c,v 1.17 1999/10/07 06:47:49 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -221,7 +221,7 @@ ssize_t send_packet (interface, packet, raw, len, from, to, hto)
        struct sockaddr_in *to;
        struct hardware *hto;
 {
-       int bufp = 0;
+       unsigned bufp = 0;
        unsigned char buf [1500];
        struct sockaddr sa;
        int result;
index 533cbd1216b911f625d4c0fd115563be4e269188..e9c2f8c7d1b67b4c89a4c9ea7e20b3a42f0e37cc 100644 (file)
@@ -23,7 +23,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: nit.c,v 1.24 1999/09/09 23:53:14 mellon Exp $ Copyright (c) 1996, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: nit.c,v 1.25 1999/10/07 06:47:50 mellon Exp $ Copyright (c) 1996, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -240,7 +240,7 @@ ssize_t send_packet (interface, packet, raw, len, from, to, hto)
        struct sockaddr_in *to;
        struct hardware *hto;
 {
-       int bufp;
+       unsigned bufp;
        unsigned char buf [1536 + sizeof (struct sockaddr)];
        struct sockaddr *junk;
        struct strbuf ctl, data;
index 3b60702f539f46f7acc0f355f1353f140d32c0f5..535e3b4d83ca8b63025de78b520daccfe85745a3 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: upf.c,v 1.13 1999/09/09 23:53:15 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: upf.c,v 1.14 1999/10/07 06:47:49 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -210,7 +210,7 @@ ssize_t send_packet (interface, packet, raw, len, from, to, hto)
        struct sockaddr_in *to;
        struct hardware *hto;
 {
-       int bufp = 0;
+       unsigned bufp = 0;
        unsigned char buf [256];
        struct iovec iov [2];
        int result;