summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/redis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis.h b/src/redis.h
index 8d3f69744..d1b6c8874 100644
--- a/src/redis.h
+++ b/src/redis.h
@@ -410,7 +410,7 @@ typedef struct redisClient {
int authenticated; /* when requirepass is non-NULL */
int replstate; /* replication state if this is a slave */
int repldbfd; /* replication DB file descriptor */
- long repldboff; /* replication DB file offset */
+ off_t repldboff; /* replication DB file offset */
off_t repldbsize; /* replication DB file size */
int slave_listening_port; /* As configured with: SLAVECONF listening-port */
multiState mstate; /* MULTI/EXEC state */