summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1997-02-27 03:39:11 +0000
committerTed Lemon <source@isc.org>1997-02-27 03:39:11 +0000
commitee57de2297f5ccda8bda10167ab75414b168e9e8 (patch)
tree2cece6671d17017c042f565e2de38f777d03770f
parent48d68880c72966719bd3ed948d0b92784536bbe4 (diff)
downloadisc-dhcp-ee57de2297f5ccda8bda10167ab75414b168e9e8.tar.gz
Fix some warnings
-rw-r--r--client/clparse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/clparse.c b/client/clparse.c
index 80ad82a5..8d92f8bf 100644
--- a/client/clparse.c
+++ b/client/clparse.c
@@ -42,7 +42,7 @@
#ifndef lint
static char copyright[] =
-"$Id: clparse.c,v 1.4 1997/02/22 12:23:22 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n";
+"$Id: clparse.c,v 1.5 1997/02/27 03:39:11 mellon Exp $ Copyright (c) 1997 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -269,7 +269,7 @@ int parse_X (cfile, buf, max)
if (token == COLON)
token = next_token (&val, cfile);
} while (token == COLON);
- val = buf;
+ val = (char *)buf;
} else if (token == STRING) {
token = next_token (&val, cfile);
len = strlen (val);
@@ -650,7 +650,7 @@ void parse_option_decl (cfile, options)
struct universe *universe;
struct option *option;
struct iaddr ip_addr;
- char *dp;
+ u_int8_t *dp;
int len;
int nul_term = 0;