Avoid warning in the DHT code.

This commit is contained in:
Juliusz Chroboczek 2011-07-25 22:01:21 +00:00
parent 7eda3ae2ec
commit 54948efa2d
1 changed files with 1 additions and 1 deletions

View File

@ -686,7 +686,7 @@ node_blacklisted(const struct sockaddr *sa, int salen)
{
int i;
if(salen > sizeof(struct sockaddr_storage))
if((unsigned)salen > sizeof(struct sockaddr_storage))
abort();
if(dht_blacklisted(sa, salen))