summaryrefslogtreecommitdiff
path: root/sapi/cgi/cgi_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/cgi/cgi_main.c')
-rw-r--r--sapi/cgi/cgi_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c
index b1a1df722f..9230f736f1 100644
--- a/sapi/cgi/cgi_main.c
+++ b/sapi/cgi/cgi_main.c
@@ -86,7 +86,7 @@ extern int ap_php_optind;
static int sapi_cgibin_ub_write(const char *str, uint str_length)
{
- int ret;
+ size_t ret;
ret = fwrite(str, 1, str_length, stdout);
if (ret != str_length) {