From 70e59219bc062b6f9c413cfcc90b0ff9c64dc95a Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Wed, 7 Jan 2015 21:03:39 +0100 Subject: [PATCH] ck_rhs: Use CK_RHS_MAX_RH instead of hardcoding 512. --- src/ck_rhs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ck_rhs.c b/src/ck_rhs.c index 2d177cc..76043ea 100644 --- a/src/ck_rhs.c +++ b/src/ck_rhs.c @@ -892,7 +892,7 @@ ck_rhs_put_robin_hood(struct ck_rhs *hs, unsigned long h = 0; long prev; void *key; - long prevs[512]; + long prevs[CK_RHS_MAX_RH]; unsigned int prevs_nb = 0; map = hs->map;