From b49bcd01d090fa8770afcffff17a15eefd143665 Mon Sep 17 00:00:00 2001 From: michael-grunder Date: Sat, 3 Nov 2018 15:13:28 -0700 Subject: [PATCH] Use typedef'd mstime_t instead of time_t This fixes an overflow on 32-bit systems. --- src/t_stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/t_stream.c b/src/t_stream.c index cb7e2594..2acb9c12 100644 --- a/src/t_stream.c +++ b/src/t_stream.c @@ -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++) {