Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
063a4b8
)
ratequeue: Be consistent with signedness in rehash vs. hashget/hashdel.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Mon, 7 Feb 2022 01:36:53 +0000
(
02:36
+0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Mon, 7 Feb 2022 01:36:53 +0000
(
02:36
+0100)
src/ratequeue.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ratequeue.c
b/src/ratequeue.c
index
6d654c9
..
aa57b26
100644
(file)
--- 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;