diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-12 20:49:27 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-12 20:49:27 +0000 |
commit | 52ab483cb57e2c06cf0e33754054c6e4ef2a50f6 (patch) | |
tree | 6d1a116fb37c1cbc95b2b3467aa5ebde18f6e2a2 /include | |
parent | 20836b39a7a3d6d75053625b9d251e8ebfc3643a (diff) |
Thanks to snuff-work, who brought up that these fixes might need to be made.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89196 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/hashtab.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/hashtab.h b/include/asterisk/hashtab.h index f40324b39..094254a68 100644 --- a/include/asterisk/hashtab.h +++ b/include/asterisk/hashtab.h @@ -175,7 +175,7 @@ void ast_hashtab_destroy( struct ast_hashtab *tab, void (*objdestroyfunc)(void * int ast_hashtab_insert_immediate(struct ast_hashtab *tab, const void *obj); /* same as the above, but h is the hash index; won't hash to find the index */ -int ast_hashtab_insert_immediate_bucket(struct ast_hashtab *tab, const void *obj, int h); +int ast_hashtab_insert_immediate_bucket(struct ast_hashtab *tab, const void *obj, unsigned int h); /* check to see if the element is already there; insert only if @@ -194,7 +194,7 @@ void * ast_hashtab_lookup_with_hash(struct ast_hashtab *tab, const void *obj, un /* same as the above lookup, but sets h to the key hash value if the lookup fails -- this has the modulus applied, and will not be useful for long term storage if the table is resizable */ -void * ast_hashtab_lookup_bucket(struct ast_hashtab *tab, const void *obj, int *h); +void * ast_hashtab_lookup_bucket(struct ast_hashtab *tab, const void *obj, unsigned int *h); /* returns key stats for the table */ void ast_hashtab_get_stats( struct ast_hashtab *tab, int *biggest_bucket_size, int *resize_count, int *num_objects, int *num_buckets); |