summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/select/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/select/hash.c b/src/select/hash.c
index 16aebf7..0d85d6f 100644
--- a/src/select/hash.c
+++ b/src/select/hash.c
@@ -761,7 +761,7 @@ static void print_chain_bloom_details(css_bloom bloom[CSS_BLOOM_SIZE])
{
printf("Chain bloom:\t");
int total = 0, i;
- int set[4];
+ int set[CSS_BLOOM_SIZE];
for (i = 0; i < CSS_BLOOM_SIZE; i++) {
set[i] = bits_set(bloom[i]);
total += set[i];