diff options
author | Ted Lemon <source@isc.org> | 1996-08-29 20:12:37 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1996-08-29 20:12:37 +0000 |
commit | ef6f87b4d6f3c05dc5e76b28b525631977e10d1c (patch) | |
tree | 173118b24791fc1458e93e99513041a3d69b2103 /confpars.c | |
parent | ba602cb001e690b28358257b90f0e8971a5d8b3c (diff) | |
download | isc-dhcp-ef6f87b4d6f3c05dc5e76b28b525631977e10d1c.tar.gz |
Fix signed/unsigned char type mismatch
Diffstat (limited to 'confpars.c')
-rw-r--r-- | confpars.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: confpars.c,v 1.28 1996/08/29 09:49:52 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: confpars.c,v 1.29 1996/08/29 20:12:37 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -520,7 +520,8 @@ void parse_host_declaration (cfile, group) error ("can't allocate a tree cache for hostname."); host -> group -> options [DHO_HOST_NAME] -> len = strlen (name); - host -> group -> options [DHO_HOST_NAME] -> value = name; + host -> group -> options [DHO_HOST_NAME] -> value = + (unsigned char *)name; host -> group -> options [DHO_HOST_NAME] -> buf_size = host -> group -> options [DHO_HOST_NAME] -> len; host -> group -> options [DHO_HOST_NAME] -> timeout = |