Fix gcc44 warning.
authorFabian Keil <fk@fabiankeil.de>
Sun, 26 Oct 2008 16:53:18 +0000 (16:53 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sun, 26 Oct 2008 16:53:18 +0000 (16:53 +0000)
jcc.c

diff --git a/jcc.c b/jcc.c
index 8c22dcc..6641465 100644 (file)
--- 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 */