X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/5171777bf112a6a930c4750949037ce741f3bf28..33aba595b0ad3baae1c110bfd4090dfe337b486f:/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;