sizeof is too big
Former-commit-id: a6a022faa228fd67deeb1767c10ed7f184c28c29
This commit is contained in:
parent
778a48b574
commit
02b23107cc
@ -1239,7 +1239,7 @@ void pfcountCommand(client *c) {
|
||||
|
||||
/* Merge with this HLL with our 'max' HHL by setting max[i]
|
||||
* to MAX(max[i],hll[i]). */
|
||||
if (hllMerge(registers,sizeof(max),o) == C_ERR) {
|
||||
if (hllMerge(registers,HLL_REGISTERS,o) == C_ERR) {
|
||||
addReplySds(c,sdsnew(invalid_hll_err));
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user