]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix a potential size mismatch (apr_off_t might be 64bits on some platforms).
authorAaron Bannert <aaron@apache.org>
Thu, 4 Apr 2002 06:39:22 +0000 (06:39 +0000)
committerAaron Bannert <aaron@apache.org>
Thu, 4 Apr 2002 06:39:22 +0000 (06:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94430 13f79535-47bb-0310-9956-ffa450edef68

server/scoreboard.c

index 47ecaf5a7776d59328d84761ee7a642f90971476..75c317b44f813a22872cd650580ae04cc2e13b32 100644 (file)
@@ -432,8 +432,8 @@ AP_DECLARE(int) ap_update_child_status_from_indexes(int child_num,
                 ws->my_access_count = 0L;
                 ws->my_bytes_served = 0L;
             }
-            ws->conn_count = (unsigned short)0;
-            ws->conn_bytes = (unsigned long)0;
+            ws->conn_count = 0;
+            ws->conn_bytes = 0;
         }
         if (r) {
             conn_rec *c = r->connection;