Browse Source

pua: solved warning on comparing unsigned expression

Daniel-Constantin Mierla 11 years ago
parent
commit
55b42c5ba9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/pua/pua.c

+ 1 - 1
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;