Commit b49bcd01 authored by michael-grunder's avatar michael-grunder Committed by antirez
Browse files

Use typedef'd mstime_t instead of time_t

This fixes an overflow on 32-bit systems.
parent 09d1849e
......@@ -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++) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment