]> granicus.if.org Git - php/commitdiff
fix compile warnings
authorSterling Hughes <sterling@php.net>
Tue, 9 Apr 2002 06:13:01 +0000 (06:13 +0000)
committerSterling Hughes <sterling@php.net>
Tue, 9 Apr 2002 06:13:01 +0000 (06:13 +0000)
sapi/apache2filter/sapi_apache2.c

index f671d60a8015714b091eb74a21c4a0ab38e1155c..b8f0e624169c8f0ca1a3a351de07ff28bd98eb93 100644 (file)
@@ -118,7 +118,7 @@ php_apache_sapi_read_post(char *buf, uint count_bytes TSRMLS_DC)
        php_struct *ctx = SG(server_context);
 
        to_read = ctx->post_len - ctx->post_idx;
-       n = MIN(to_read, count_bytes);
+       n = MIN(to_read, (int) count_bytes);
        
        if (n > 0) {
                memcpy(buf, ctx->post_data + ctx->post_idx, n);