2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 21:38:10 +00:00

Fix a signed vs. unsigned char pointer mismatch.

This commit is contained in:
Ted Lemon 2000-06-24 06:31:51 +00:00
parent 0096c63929
commit 229a47a832

View File

@ -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;