]> git.saurik.com Git - redis.git/commitdiff
fixed compilation on Linux
authorantirez <antirez@gmail.com>
Fri, 10 Dec 2010 14:47:01 +0000 (15:47 +0100)
committerantirez <antirez@gmail.com>
Fri, 10 Dec 2010 14:47:01 +0000 (15:47 +0100)
src/redis.h

index 866e01f4486f04ad2ba1fb242f40d024b1ae7fa5..08a377624d41f22a4f6ef9b3e0277e65634862f9 100644 (file)
@@ -815,7 +815,7 @@ setTypeIterator *setTypeInitIterator(robj *subject);
 void setTypeReleaseIterator(setTypeIterator *si);
 int setTypeNext(setTypeIterator *si, robj **objele, int64_t *llele);
 robj *setTypeNextObject(setTypeIterator *si);
 void setTypeReleaseIterator(setTypeIterator *si);
 int setTypeNext(setTypeIterator *si, robj **objele, int64_t *llele);
 robj *setTypeNextObject(setTypeIterator *si);
-int setTypeRandomElement(robj *setobj, robj **objele, long long *llele);
+int setTypeRandomElement(robj *setobj, robj **objele, int64_t *llele);
 unsigned long setTypeSize(robj *subject);
 void setTypeConvert(robj *subject, int enc);
 
 unsigned long setTypeSize(robj *subject);
 void setTypeConvert(robj *subject, int enc);