From: Ted Lemon Date: Wed, 2 Feb 2000 07:36:32 +0000 (+0000) Subject: Fix a signed vs. unsigned pointer problem. X-Git-Tag: V3-BETA-2-PATCH-1~357 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2891334ccc183de43f9e6b5715523ce59ac78ad;p=thirdparty%2Fdhcp.git Fix a signed vs. unsigned pointer problem. --- diff --git a/client/omapi.c b/client/omapi.c index 442bc6303..b902f441d 100644 --- a/client/omapi.c +++ b/client/omapi.c @@ -4,7 +4,7 @@ #ifndef lint static char copyright[] = -"$Id: omapi.c,v 1.1 2000/01/28 20:30:26 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: omapi.c,v 1.2 2000/02/02 07:36:32 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -207,7 +207,7 @@ isc_result_t dhclient_interface_lookup (omapi_object_t **ip, for (interface = interfaces; interface; interface = interface -> next) { if (strncmp (interface -> name, - tv -> value -> u.buffer.value, + (char *)tv -> value -> u.buffer.value, tv -> value -> u.buffer.len) == 0) break; }