Use typedef'd mstime_t instead of time_t

This fixes an overflow on 32-bit systems.
This commit is contained in:
michael-grunder 2018-11-03 15:13:28 -07:00 committed by antirez
parent 09d1849ed5
commit b49bcd01d0

View File

@ -2159,7 +2159,7 @@ void xclaimCommand(client *c) {
/* If we stopped because some IDs cannot be parsed, perhaps they
* are trailing options. */
time_t now = mstime();
mstime_t now = mstime();
streamID last_id = {0,0};
int propagate_last_id = 0;
for (; j < c->argc; j++) {