]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Cast unsigned to signed for Solaris.
authorTed Lemon <source@isc.org>
Sun, 24 Oct 1999 17:17:51 +0000 (17:17 +0000)
committerTed Lemon <source@isc.org>
Sun, 24 Oct 1999 17:17:51 +0000 (17:17 +0000)
common/socket.c

index 1fa16c696af88a984b7ace52353fa07527d86771..1b54614b448264e10376b5c78de4131cf80cbbc5 100644 (file)
@@ -30,7 +30,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: socket.c,v 1.40 1999/09/23 01:15:25 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: socket.c,v 1.41 1999/10/24 17:17:51 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -217,7 +217,7 @@ ssize_t receive_packet (interface, buf, len, from, hfrom)
        int retry = 0;
        do {
 #endif
-               result = recvfrom (interface -> rfdesc, buf, len, 0,
+               result = recvfrom (interface -> rfdesc, (char *)buf, len, 0,
                                   (struct sockaddr *)from, &flen);
 #ifdef IGNORE_HOSTUNREACH
        } while (result < 0 &&