]> git.saurik.com Git - redis.git/blobdiff - src/db.c
Unify two client flags that mean the same
[redis.git] / src / db.c
index 470310a304c279536efbf6ddc313a9a3eea05714..445078474c9fa666a98baf77d20fbc150a5f655d 100644 (file)
--- 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;