From: Fredrik Tolf Date: Mon, 7 Feb 2022 01:36:53 +0000 (+0100) Subject: ratequeue: Be consistent with signedness in rehash vs. hashget/hashdel. X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=commitdiff_plain;h=1a53e57ba22759dbb373d7f97625b9a51fa6656a;hp=063a4b84dd610d8e1fa3f2bb3d3baf51db202bbc ratequeue: Be consistent with signedness in rehash vs. hashget/hashdel. --- diff --git a/src/ratequeue.c b/src/ratequeue.c index 6d654c9..aa57b26 100644 --- a/src/ratequeue.c +++ b/src/ratequeue.c @@ -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;