From b33c4716f07e080a80a6d63bc8031efe36a970e8 Mon Sep 17 00:00:00 2001 From: Matteo Nastasi Date: Sat, 4 Apr 2020 14:47:21 +0200 Subject: [PATCH] time() casting for sprintf --- mod_proxy_fdpass2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod_proxy_fdpass2.c b/mod_proxy_fdpass2.c index 361bd9c..1368d9d 100644 --- a/mod_proxy_fdpass2.c +++ b/mod_proxy_fdpass2.c @@ -414,9 +414,9 @@ static int proxy_fdpass2_handler(request_rec *r, proxy_worker *worker, rv = get_socket_from_path(r, r->pool, url, &sock); #if ALTOUT_DEBUG > 0 - time_t t_cur; + long long t_cur; int t_rnd; - t_cur = time(); + t_cur = (long long)time(); t_rnd = rand(); #endif -- 2.17.1