Comment typo in hllSparseAdd(). first -> fits.

This commit is contained in:
antirez
2014-04-14 12:12:53 +02:00
parent 46f9a78d9c
commit 8b3d5a8eb0

View File

@ -824,7 +824,7 @@ updated:
continue; continue;
} }
/* We need two adjacent VAL opcodes to try a merge, having /* We need two adjacent VAL opcodes to try a merge, having
* the same value, and a len that first the VAL opcode max len. */ * the same value, and a len that fits the VAL opcode max len. */
if (p+1 < end && HLL_SPARSE_IS_VAL(p+1)) { if (p+1 < end && HLL_SPARSE_IS_VAL(p+1)) {
int v1 = HLL_SPARSE_VAL_VALUE(p); int v1 = HLL_SPARSE_VAL_VALUE(p);
int v2 = HLL_SPARSE_VAL_VALUE(p+1); int v2 = HLL_SPARSE_VAL_VALUE(p+1);