summaryrefslogtreecommitdiff
path: root/server/db.c
diff options
context:
space:
mode:
authorEvan Hunt <each@isc.org>2007-05-29 18:11:56 +0000
committerEvan Hunt <each@isc.org>2007-05-29 18:11:56 +0000
commit804401cc8e511b17e3cca6bb34df5f26730a4414 (patch)
tree22c15ccf34ea40cc863575ae98036491cdd970f3 /server/db.c
parent6ecda39c2666c85f5d0eda875e4af1ce0df0d7d6 (diff)
downloadisc-dhcp-804401cc8e511b17e3cca6bb34df5f26730a4414.tar.gz
Merge in changes that were needed in 3.1.0 to silence NetBSD compiler
warnings. [rt16907]
Diffstat (limited to 'server/db.c')
-rw-r--r--server/db.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/db.c b/server/db.c
index 605c8552..aa34e24a 100644
--- a/server/db.c
+++ b/server/db.c
@@ -34,7 +34,7 @@
#ifndef lint
static char copyright[] =
-"$Id: db.c,v 1.78 2007/05/19 19:16:26 dhankins Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.\n";
+"$Id: db.c,v 1.79 2007/05/29 18:11:56 each Exp $ Copyright (c) 2004-2007 Internet Systems Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -663,7 +663,7 @@ int write_failover_state (dhcp_failover_state_t *state)
#endif
int db_printable (s)
- const char *s;
+ const unsigned char *s;
{
int i;
for (i = 0; s [i]; i++)