mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
Use typedef'd mstime_t instead of time_t
This fixes an overflow on 32-bit systems.
This commit is contained in:
parent
edce5150bf
commit
5fa41e0c84
@ -2155,7 +2155,7 @@ void xclaimCommand(client *c) {
|
|||||||
|
|
||||||
/* If we stopped because some IDs cannot be parsed, perhaps they
|
/* If we stopped because some IDs cannot be parsed, perhaps they
|
||||||
* are trailing options. */
|
* are trailing options. */
|
||||||
time_t now = mstime();
|
mstime_t now = mstime();
|
||||||
streamID last_id = {0,0};
|
streamID last_id = {0,0};
|
||||||
int propagate_last_id = 0;
|
int propagate_last_id = 0;
|
||||||
for (; j < c->argc; j++) {
|
for (; j < c->argc; j++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user