sizeof is too big

Former-commit-id: a6a022faa228fd67deeb1767c10ed7f184c28c29
This commit is contained in:
John Sully 2019-03-09 13:41:49 -05:00
parent 778a48b574
commit 02b23107cc

View File

@ -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;
}