From: Ted Lemon Date: Sat, 24 Jun 2000 06:31:51 +0000 (+0000) Subject: Fix a signed vs. unsigned char pointer mismatch. X-Git-Tag: V3-BETA-2-PATCH-1~119 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=229a47a832d3d51f34325ff22ef3c06f0fb9ff1c;p=thirdparty%2Fdhcp.git Fix a signed vs. unsigned char pointer mismatch. --- diff --git a/server/omapi.c b/server/omapi.c index fa245cc19..82c42b84e 100644 --- a/server/omapi.c +++ b/server/omapi.c @@ -50,7 +50,7 @@ #ifndef lint static char copyright[] = -"$Id: omapi.c,v 1.31 2000/06/12 20:25:37 mellon Exp $ Copyright (c) 1999-2000 The Internet Software Consortium. All rights reserved.\n"; +"$Id: omapi.c,v 1.32 2000/06/24 06:31:51 mellon Exp $ Copyright (c) 1999-2000 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -717,7 +717,7 @@ isc_result_t dhcp_host_set_value (omapi_object_t *h, struct group_object *group; group = (struct group_object *)0; group_hash_lookup (&group, group_name_hash, - value -> u.buffer.value, + (char *)value -> u.buffer.value, value -> u.buffer.len, MDL); if (!group || (group -> flags & GROUP_OBJECT_DELETED)) return ISC_R_NOTFOUND;