From: antirez Date: Fri, 23 Sep 2011 13:06:07 +0000 (+0200) Subject: Defined macro with bigger number that redisLrand48() can output. X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/69786b262d2c899f61643f734e62ac5c8d3f7432?ds=sidebyside Defined macro with bigger number that redisLrand48() can output. --- diff --git a/src/rand.h b/src/rand.h index 8825196d..b4aae566 100644 --- a/src/rand.h +++ b/src/rand.h @@ -4,4 +4,6 @@ int32_t redisLrand48(); void redisSrand48(int32_t seedval); +#define REDIS_LRAND48_MAX INT32_MAX + #endif