From: Ted Lemon Date: Wed, 11 Oct 2000 07:57:20 +0000 (+0000) Subject: Fix a couple of signed vs. unsigned pointer errors. X-Git-Tag: V3-BETA-2-PATCH-7~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4efd974e5de67ef94ebeed2b048bbe7129c5c0e;p=thirdparty%2Fdhcp.git Fix a couple of signed vs. unsigned pointer errors. --- diff --git a/common/options.c b/common/options.c index 54b964313..8425ce8d2 100644 --- a/common/options.c +++ b/common/options.c @@ -43,7 +43,7 @@ #ifndef lint static char copyright[] = -"$Id: options.c,v 1.66 2000/10/10 22:39:47 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n"; +"$Id: options.c,v 1.67 2000/10/11 07:57:20 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #define DHCP_OPTION_DATA @@ -693,11 +693,11 @@ int store_options (buffer, buflen, packet, lease, cfg_options, scope, tmp, MDL); } else if (vuname) { - name.data = s; + name.data = (unsigned char *)s; name.len = strlen (s); } } else { - name.data = s; + name.data = (unsigned char *)s; name.len = t - s; }