[sr-dev] git:master: modules_k/pua: Wrong type in local variable
Peter Dunkley
peter.dunkley at crocodile-rcs.com
Mon Jan 30 12:32:22 CET 2012
Module: sip-router
Branch: master
Commit: 65f41ac654fd3a7251673253867a5aa33b4fb758
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=65f41ac654fd3a7251673253867a5aa33b4fb758
Author: pd <peter.dunkley at crocodile-rcs.com>
Committer: pd <peter.dunkley at crocodile-rcs.com>
Date: Fri Jan 27 16:07:18 2012 +0000
modules_k/pua: Wrong type in local variable
- I used an int when I should heve used an unsigned int
---
modules_k/pua/hash.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/pua/hash.c b/modules_k/pua/hash.c
index 120ca78..93e322b 100644
--- a/modules_k/pua/hash.c
+++ b/modules_k/pua/hash.c
@@ -255,7 +255,7 @@ void _insert_htable(ua_pres_t* presentity, unsigned int hash_code)
void insert_htable(ua_pres_t* presentity)
{
- int hash_code;
+ unsigned int hash_code;
hash_code= core_hash(presentity->pres_uri,presentity->watcher_uri, HASH_SIZE);
lock_get(&HashT->p_records[hash_code].lock);
More information about the sr-dev
mailing list