time() casting for sprintf
authorMatteo Nastasi <nastasi@alternativeoutput.it>
Sat, 4 Apr 2020 12:47:21 +0000 (14:47 +0200)
committerMatteo Nastasi <nastasi@alternativeoutput.it>
Sat, 4 Apr 2020 12:47:21 +0000 (14:47 +0200)
mod_proxy_fdpass2.c

index 361bd9c..1368d9d 100644 (file)
@@ -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