diff --git a/server/omapi.c b/server/omapi.c index fa245cc1..82c42b84 100644 --- a/server/omapi.c +++ b/server/omapi.c @@ -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;