mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-29 13:28:14 +00:00
Fix a signed vs. unsigned char pointer mismatch.
This commit is contained in:
parent
0096c63929
commit
229a47a832
@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
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 */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@ -717,7 +717,7 @@ isc_result_t dhcp_host_set_value (omapi_object_t *h,
|
|||||||
struct group_object *group;
|
struct group_object *group;
|
||||||
group = (struct group_object *)0;
|
group = (struct group_object *)0;
|
||||||
group_hash_lookup (&group, group_name_hash,
|
group_hash_lookup (&group, group_name_hash,
|
||||||
value -> u.buffer.value,
|
(char *)value -> u.buffer.value,
|
||||||
value -> u.buffer.len, MDL);
|
value -> u.buffer.len, MDL);
|
||||||
if (!group || (group -> flags & GROUP_OBJECT_DELETED))
|
if (!group || (group -> flags & GROUP_OBJECT_DELETED))
|
||||||
return ISC_R_NOTFOUND;
|
return ISC_R_NOTFOUND;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user