From: antirez Date: Fri, 10 Dec 2010 14:47:01 +0000 (+0100) Subject: fixed compilation on Linux X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/dd48de748ce6f86727f509096c76e51faadd2019 fixed compilation on Linux --- diff --git a/src/redis.h b/src/redis.h index 866e01f4..08a37762 100644 --- a/src/redis.h +++ b/src/redis.h @@ -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); -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);