X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/b882056c93f3e3afe5fde9d62fb569ce30a76a76..5e78edb350c8060fa478182efc4e4aa729bbe154:/src/db.c diff --git a/src/db.c b/src/db.c index 470310a3..44507847 100644 --- a/src/db.c +++ b/src/db.c @@ -478,7 +478,7 @@ int expireIfNeeded(redisDb *db, robj *key) { void expireGenericCommand(redisClient *c, robj *key, robj *param, long offset) { dictEntry *de; - time_t seconds; + long seconds; if (getLongFromObjectOrReply(c, param, &seconds, NULL) != REDIS_OK) return;