From: Ted Lemon Date: Thu, 16 Sep 1999 00:52:50 +0000 (+0000) Subject: Casts for Solaris, from Brian Murrell. X-Git-Tag: V3-BETA-1-PATCH-2~5^2~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32e4f7764452e46f5909a50019e39d70b4ff3a5a;p=thirdparty%2Fdhcp.git Casts for Solaris, from Brian Murrell. --- diff --git a/server/confpars.c b/server/confpars.c index 75b9c635e..6625e9088 100644 --- a/server/confpars.c +++ b/server/confpars.c @@ -22,7 +22,7 @@ #ifndef lint static char copyright[] = -"$Id: confpars.c,v 1.80 1999/09/15 19:47:38 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: confpars.c,v 1.81 1999/09/16 00:52:50 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -960,7 +960,7 @@ void parse_host_declaration (cfile, group) struct host_decl *hp = (struct host_decl *) hash_lookup (host_name_hash, - host -> name, strlen (host -> name)); + (unsigned char *)host -> name, strlen (host -> name)); if (hp) { delete_host (hp, 0); }