From: Ted Lemon Date: Thu, 29 Jun 2000 20:02:50 +0000 (+0000) Subject: Fix another signed vs. unsigned char pointer issue. X-Git-Tag: V3-BETA-2-PATCH-1~115 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=00c272ee8babd3db2ac536b88f4ff5036053f577;p=thirdparty%2Fdhcp.git Fix another signed vs. unsigned char pointer issue. --- diff --git a/server/failover.c b/server/failover.c index 036dabba8..a321bed41 100644 --- a/server/failover.c +++ b/server/failover.c @@ -43,7 +43,7 @@ #ifndef lint static char copyright[] = -"$Id: failover.c,v 1.20 2000/06/24 06:30:11 mellon Exp $ Copyright (c) 1999-2000 The Internet Software Consortium. All rights reserved.\n"; +"$Id: failover.c,v 1.21 2000/06/29 20:02:50 mellon Exp $ Copyright (c) 1999-2000 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -2603,7 +2603,7 @@ void dhcp_failover_send_contact (void *vstate) # define FMA obuf, &obufix, sizeof obuf failover_print (FMA, "(contact"); #else -# define FMA (unsigned char *)0, (unsigned *)0, 0 +# define FMA (char *)0, (unsigned *)0, 0 #endif if (!state || state -> type != dhcp_type_failover_state) @@ -2645,7 +2645,7 @@ isc_result_t dhcp_failover_send_connect (omapi_object_t *l) # define FMA obuf, &obufix, sizeof obuf failover_print (FMA, "(connect"); #else -# define FMA (unsigned char *)0, (unsigned *)0, 0 +# define FMA (char *)0, (unsigned *)0, 0 #endif if (!l || l -> type != dhcp_type_failover_link) @@ -2708,7 +2708,7 @@ isc_result_t dhcp_failover_send_connectack (omapi_object_t *l, # define FMA obuf, &obufix, sizeof obuf failover_print (FMA, "(connectack"); #else -# define FMA (unsigned char *)0, (unsigned *)0, 0 +# define FMA (char *)0, (unsigned *)0, 0 #endif if (!l || l -> type != dhcp_type_failover_link) @@ -2775,7 +2775,7 @@ isc_result_t dhcp_failover_send_disconnect (omapi_object_t *l, # define FMA obuf, &obufix, sizeof obuf failover_print (FMA, "(disconnect"); #else -# define FMA (unsigned char *)0, (unsigned *)0, 0 +# define FMA (char *)0, (unsigned *)0, 0 #endif if (!l || l -> type != dhcp_type_failover_link) @@ -2824,7 +2824,7 @@ isc_result_t dhcp_failover_send_bind_update (dhcp_failover_state_t *state, # define FMA obuf, &obufix, sizeof obuf failover_print (FMA, "(bndupd"); #else -# define FMA (unsigned char *)0, (unsigned *)0, 0 +# define FMA (char *)0, (unsigned *)0, 0 #endif if (!state -> link_to_peer || @@ -2894,7 +2894,7 @@ isc_result_t dhcp_failover_send_bind_ack (dhcp_failover_state_t *state, # define FMA obuf, &obufix, sizeof obuf failover_print (FMA, "(bndack"); #else -# define FMA (unsigned char *)0, (unsigned *)0, 0 +# define FMA (char *)0, (unsigned *)0, 0 #endif if (!state -> link_to_peer || @@ -2970,7 +2970,7 @@ isc_result_t dhcp_failover_send_poolreq (dhcp_failover_state_t *state) # define FMA obuf, &obufix, sizeof obuf failover_print (FMA, "(poolreq"); #else -# define FMA (unsigned char *)0, (unsigned *)0, 0 +# define FMA (char *)0, (unsigned *)0, 0 #endif if (!state -> link_to_peer || @@ -3009,7 +3009,7 @@ isc_result_t dhcp_failover_send_poolresp (dhcp_failover_state_t *state, # define FMA obuf, &obufix, sizeof obuf failover_print (FMA, "(poolresp"); #else -# define FMA (unsigned char *)0, (unsigned *)0, 0 +# define FMA (char *)0, (unsigned *)0, 0 #endif if (!state -> link_to_peer ||