From b866eac68f94b39abd2c94d7a700d4d5e50fce3a Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Tue, 9 Apr 2002 06:13:01 +0000 Subject: [PATCH] fix compile warnings --- sapi/apache2filter/sapi_apache2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1