summaryrefslogtreecommitdiff
path: root/includes/omapip/hash.h
diff options
context:
space:
mode:
authorDavid Hankins <dhankins@isc.org>2006-06-05 16:42:59 +0000
committerDavid Hankins <dhankins@isc.org>2006-06-05 16:42:59 +0000
commitd19e2cf7de53b5652d81164ca4559789e3dea511 (patch)
tree684ccadb1b466f0de3a478da644b7ef70fa38454 /includes/omapip/hash.h
parent41c3f761a36e78f6313af443c6803b05639745ca (diff)
downloadisc-dhcp-d19e2cf7de53b5652d81164ca4559789e3dea511.tar.gz
Compiler warnings (a few were bugfixes internal to HEAD development) silenced.
[ISC-Bugs #16133]
Diffstat (limited to 'includes/omapip/hash.h')
-rw-r--r--includes/omapip/hash.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/omapip/hash.h b/includes/omapip/hash.h
index 5bda95fa..15f2398f 100644
--- a/includes/omapip/hash.h
+++ b/includes/omapip/hash.h
@@ -60,7 +60,7 @@ struct hash_bucket {
hashed_object_t *value;
};
-typedef int (*hash_comparator_t)(const void *, const void *, unsigned long);
+typedef int (*hash_comparator_t)(const void *, const void *, size_t);
struct hash_table {
unsigned hash_count;
@@ -152,6 +152,6 @@ void delete_hash_entry (struct hash_table *, const void *,
int hash_lookup (hashed_object_t **, struct hash_table *,
const void *, unsigned, const char *, int);
int hash_foreach (struct hash_table *, hash_foreach_func);
-int casecmp (const void *s, const void *t, unsigned long len);
+int casecmp (const void *s, const void *t, size_t len);
#endif /* OMAPI_HASH_H */