]> granicus.if.org Git - apache/commitdiff
keep the signed-ness of char buffers consistent with what is expected
authorJeff Trawick <trawick@apache.org>
Thu, 30 May 2002 11:00:42 +0000 (11:00 +0000)
committerJeff Trawick <trawick@apache.org>
Thu, 30 May 2002 11:00:42 +0000 (11:00 +0000)
by functions they are passed to (putLong() this time)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95399 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_deflate.c

index 25fda5822bda1dc1799a8256715a25f59dbafb85..2e6f4b670c5dcbeb01bdac8d4695dcee13ed6981 100644 (file)
@@ -380,7 +380,7 @@ static apr_status_t deflate_out_filter(ap_filter_t *f,
 
         if (APR_BUCKET_IS_EOS(e)) {
             char *buf, *p;
-            char crc_array[4], len_array[4];
+            unsigned char crc_array[4], len_array[4];
             unsigned int deflate_len;
 
             ctx->stream.avail_in = 0; /* should be zero already anyway */