From: Ted Lemon Date: Sun, 24 Oct 1999 17:17:51 +0000 (+0000) Subject: Cast unsigned to signed for Solaris. X-Git-Tag: BCTEL_SPECIAL_19991124~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=deeef5295a76a24a0c81c74da8b6c0b11ee6950a;p=thirdparty%2Fdhcp.git Cast unsigned to signed for Solaris. --- diff --git a/common/socket.c b/common/socket.c index 1fa16c696..1b54614b4 100644 --- a/common/socket.c +++ b/common/socket.c @@ -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 &&