Module: sip-router
Branch: master
Commit: 55b42c5ba9e78b1d6662d45f1b68898bc67548c9
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=55b42c5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Aug 5 13:09:16 2014 +0200
pua: solved warning on comparing unsigned expression
---
modules/pua/pua.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/pua/pua.c b/modules/pua/pua.c
index 3ce58f2..e44a38d 100644
--- a/modules/pua/pua.c
+++ b/modules/pua/pua.c
@@ -989,7 +989,7 @@ static void db_update(unsigned int ticks,void *param)
p = HashT->p_records[i].entity->next;
while(p)
{
- if(p->expires - (int)time(NULL)< 0)
+ if((int)p->expires - (int)time(NULL)< 0)
{
p= p->next;
continue;