From 49d50fe297696103a2e15ce74eb0e38dea868896 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 26 Oct 2008 16:53:18 +0000 Subject: [PATCH] Fix gcc44 warning. --- jcc.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/jcc.c b/jcc.c index 8c22dcc9..6641465f 100644 --- a/jcc.c +++ b/jcc.c @@ -1,4 +1,4 @@ -const char jcc_rcs[] = "$Id: jcc.c,v 1.198 2008/10/22 15:19:55 fabiankeil Exp $"; +const char jcc_rcs[] = "$Id: jcc.c,v 1.199 2008/10/26 15:36:10 fabiankeil Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/jcc.c,v $ @@ -33,6 +33,9 @@ const char jcc_rcs[] = "$Id: jcc.c,v 1.198 2008/10/22 15:19:55 fabiankeil Exp $" * * Revisions : * $Log: jcc.c,v $ + * Revision 1.199 2008/10/26 15:36:10 fabiankeil + * Remove two debug messages with LOG_LEVEL_INFO. + * * Revision 1.198 2008/10/22 15:19:55 fabiankeil * Once More, With Feeling: if there is no logfile * because the user didn't specify one, we shouldn't @@ -2962,7 +2965,7 @@ static void chat(struct client_state *csp) */ int header_length = csp->iob->cur - header_start; assert(csp->iob->cur > header_start); - byte_count += (size_t)len - header_length; + byte_count += (size_t)(len - header_length); } /* we're finished with the server's header */ -- 2.39.2