2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 22:05:23 +00:00

Merge in changes that were needed in 3.1.0 to silence NetBSD compiler

warnings. [rt16907]
This commit is contained in:
Evan Hunt
2007-05-29 18:11:56 +00:00
parent 6ecda39c26
commit 804401cc8e
13 changed files with 36 additions and 33 deletions

View File

@@ -34,7 +34,7 @@
#ifndef lint
static char copyright[] =
"$Id: parse.c,v 1.125 2007/05/23 15:29:49 shane Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.\n";
"$Id: parse.c,v 1.126 2007/05/29 18:11:55 each Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -721,7 +721,7 @@ void convert_num (cfile, buf, str, base, size)
int base;
unsigned size;
{
const char *ptr = str;
const unsigned char *ptr = str;
int negative = 0;
u_int32_t val = 0;
int tval;