From: Sterling Hughes Date: Tue, 9 Apr 2002 06:13:01 +0000 (+0000) Subject: fix compile warnings X-Git-Tag: php-4.2.0RC3~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b866eac68f94b39abd2c94d7a700d4d5e50fce3a;p=php fix compile warnings --- diff --git a/sapi/apache2filter/sapi_apache2.c b/sapi/apache2filter/sapi_apache2.c index f671d60a80..b8f0e62416 100644 --- a/sapi/apache2filter/sapi_apache2.c +++ b/sapi/apache2filter/sapi_apache2.c @@ -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);