From 69786b262d2c899f61643f734e62ac5c8d3f7432 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 23 Sep 2011 15:06:07 +0200 Subject: [PATCH] Defined macro with bigger number that redisLrand48() can output. --- src/rand.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.45.2