ratequeue: Be consistent with signedness in rehash vs. hashget/hashdel.
[ashd.git] / src / ratequeue.c
index 6d654c9..aa57b26 100644 (file)
@@ -151,7 +151,7 @@ static const char *formatsrc(const struct source *src)
 
 static void rehash(int nlen)
 {
-    int i, o, n, m, pl, nl;
+    unsigned int i, o, n, m, pl, nl;
     struct bucket **new, **old;
     
     old = buckets;