summaryrefslogtreecommitdiff
path: root/includes/omapip/hash.h
diff options
context:
space:
mode:
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 */