]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix a signed vs. unsigned char pointer mismatch.
authorTed Lemon <source@isc.org>
Sat, 24 Jun 2000 06:31:51 +0000 (06:31 +0000)
committerTed Lemon <source@isc.org>
Sat, 24 Jun 2000 06:31:51 +0000 (06:31 +0000)
server/omapi.c

index fa245cc1984be948268dd29c15e9b0ff88422756..82c42b84e1332be966cd71cc19bb3060be1b6f0a 100644 (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;