From: Pieter Noordhuis Date: Tue, 8 Mar 2011 21:14:46 +0000 (+0100) Subject: Typo X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/9f9b60f974cb57923c88a585a75db4b82711288b Typo --- diff --git a/src/t_zset.c b/src/t_zset.c index 1aab4b12..9119e592 100644 --- a/src/t_zset.c +++ b/src/t_zset.c @@ -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; }