Browse code

pua: solved warning on comparing unsigned expression

(cherry picked from commit 55b42c5ba9e78b1d6662d45f1b68898bc67548c9)

Daniel-Constantin Mierla authored on 05/08/2014 11:09:16
Showing 1 changed files
... ...
@@ -993,7 +993,7 @@ static void db_update(unsigned int ticks,void *param)
993 993
 		p = HashT->p_records[i].entity->next;
994 994
 		while(p)
995 995
 		{
996
-			if(p->expires - (int)time(NULL)< 0)	
996
+			if((int)p->expires - (int)time(NULL)< 0)	
997 997
 			{
998 998
 				p= p->next;
999 999
 				continue;