]> git.saurik.com Git - redis.git/commitdiff
Typo
authorPieter Noordhuis <pcnoordhuis@gmail.com>
Tue, 8 Mar 2011 21:14:46 +0000 (22:14 +0100)
committerPieter Noordhuis <pcnoordhuis@gmail.com>
Tue, 8 Mar 2011 21:14:46 +0000 (22:14 +0100)
src/t_zset.c

index 1aab4b12dc64137c6f833462be1a656172fdd4ea..9119e592ffdf38f99a0fefd0430e9a8ee5396b18 100644 (file)
@@ -449,7 +449,7 @@ int zzlCompareElements(unsigned char *eptr, unsigned char *cstr, unsigned int cl
     return cmp;
 }
 
-unsigned int *zzlLength(robj *zobj) {
+unsigned int zzlLength(robj *zobj) {
     unsigned char *zl = zobj->ptr;
     return ziplistLen(zl)/2;
 }