From 5fa41e0c84e46bb1fa417d6bfb60d9429734fd5f 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 3952ec1a..9faee76d 100644 --- a/src/t_stream.c +++ b/src/t_stream.c @@ -2155,7 +2155,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++) {