From: Aaron Bannert Date: Thu, 4 Apr 2002 06:39:22 +0000 (+0000) Subject: Fix a potential size mismatch (apr_off_t might be 64bits on some platforms). X-Git-Tag: 2.0.35~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36a1c908fbe4321a24980e6081ef69ecf4887516;p=thirdparty%2Fapache%2Fhttpd.git Fix a potential size mismatch (apr_off_t might be 64bits on some platforms). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94430 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/scoreboard.c b/server/scoreboard.c index 47ecaf5a777..75c317b44f8 100644 --- a/server/scoreboard.c +++ b/server/scoreboard.c @@ -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;