2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 05:17:57 +00:00

Fix a couple of signed vs. unsigned pointer errors.

This commit is contained in:
Ted Lemon 2000-10-11 07:57:20 +00:00
parent 85c14386b8
commit d4efd974e5

View File

@ -43,7 +43,7 @@
#ifndef lint #ifndef lint
static char copyright[] = 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 */ #endif /* not lint */
#define DHCP_OPTION_DATA #define DHCP_OPTION_DATA
@ -693,11 +693,11 @@ int store_options (buffer, buflen, packet, lease,
cfg_options, cfg_options,
scope, tmp, MDL); scope, tmp, MDL);
} else if (vuname) { } else if (vuname) {
name.data = s; name.data = (unsigned char *)s;
name.len = strlen (s); name.len = strlen (s);
} }
} else { } else {
name.data = s; name.data = (unsigned char *)s;
name.len = t - s; name.len = t - s;
} }