From 37c091bc905beed31d355b7803c79b07f96c0dba Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sat, 6 Nov 2010 11:48:32 +0000 Subject: [PATCH] Silence a 'gcc (Debian 4.3.2-1.1) 4.3.2' warning on i686 GNU/Linux. --- jcc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jcc.c b/jcc.c index 317d87cf..e1158188 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.329 2010/09/14 07:14:15 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.330 2010/09/14 07:16:07 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -2554,7 +2554,7 @@ static void serve(struct client_state *csp) { time_t time_open = time(NULL) - csp->server_connection.timestamp; - if (csp->server_connection.keep_alive_timeout < time_open + latency) + if (csp->server_connection.keep_alive_timeout < time_open - (time_t)latency) { break; } -- 2.49.0