]> git.saurik.com Git - redis.git/blobdiff - src/ziplist.c
Ignore gcov/lcov artifacts
[redis.git] / src / ziplist.c
index 5962510d51c5eb5b0d7a65f0dad22702ca7521e1..b214b2da6d97927ff707ebeb8424b35e8dd6a72d 100644 (file)
@@ -240,7 +240,7 @@ static void zipPrevEncodeLengthForceLarge(unsigned char *p, unsigned int len) {
     } else if ((prevlensize) == 5) {                                           \
         assert(sizeof((prevlensize)) == 4);                                    \
         memcpy(&(prevlen), ((char*)(ptr)) + 1, 4);                             \
-        memrev32ifbe(&len);                                                    \
+        memrev32ifbe(&prevlen);                                                \
     }                                                                          \
 } while(0);