summaryrefslogtreecommitdiff
path: root/sapi/embed/php_embed.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/embed/php_embed.c')
-rw-r--r--sapi/embed/php_embed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/embed/php_embed.c b/sapi/embed/php_embed.c
index 2f2f31fb85..8f2e9be312 100644
--- a/sapi/embed/php_embed.c
+++ b/sapi/embed/php_embed.c
@@ -47,7 +47,7 @@ static int php_embed_deactivate(TSRMLS_D)
static inline size_t php_embed_single_write(const char *str, php_size_t str_length)
{
#ifdef PHP_WRITE_STDOUT
- php_int_t ret;
+ zend_long ret;
ret = write(STDOUT_FILENO, str, str_length);
if (ret <= 0) return 0;