unsigned != size_t (tripped up build on alpha).

This commit is contained in:
sommerfeld 2000-04-23 02:47:57 +00:00
parent b12ed6c03b
commit e012be0e69
2 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@
#ifndef lint
static char copyright[] =
"$Id: hash.c,v 1.1.1.4 2000/04/22 07:11:34 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
"$Id: hash.c,v 1.2 2000/04/23 02:47:58 sommerfeld Exp $ Copyright (c) 1995-2000 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@ -216,7 +216,7 @@ void *hash_lookup (table, name, len)
return (unsigned char *)0;
}
int casecmp (const void *v1, const void *v2, unsigned len)
int casecmp (const void *v1, const void *v2, size_t len)
{
unsigned i;
const char *s = v1;

View File

@ -1482,7 +1482,7 @@ void delete_hash_entry PROTO ((struct hash_table *,
const unsigned char *, unsigned));
void *hash_lookup PROTO ((struct hash_table *,
const unsigned char *, unsigned));
int casecmp (const void *s, const void *t, unsigned len);
int casecmp (const void *s, const void *t, size_t len);
/* tables.c */
extern struct universe dhcp_universe;