summaryrefslogtreecommitdiffstats
path: root/utils/cache_gc/categories.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/cache_gc/categories.c')
-rw-r--r--utils/cache_gc/categories.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/cache_gc/categories.c b/utils/cache_gc/categories.c
index 19dec45..aaa1ae5 100644
--- a/utils/cache_gc/categories.c
+++ b/utils/cache_gc/categories.c
@@ -18,7 +18,7 @@ static bool rrtype_is_infrastructure(uint16_t r)
}
}
-static int get_random(int to)
+static unsigned int get_random(int to)
{
// We don't need these to be really unpredictable,
// but this should be cheap enough not to be noticeable.