Commit: 4c68e810183f6b02ce7c2731ddecb4aca14c87f3 Author: Anatol Belski <a...@php.net> Sat, 14 Dec 2013 00:26:56 +0100 Parents: 009528ba439b6866ed498c40864ced33005e838c Branches: str_size_and_int64
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4c68e810183f6b02ce7c2731ddecb4aca14c87f3 Log: fixed sapi/embed Changed paths: M sapi/embed/php_embed.c Diff: diff --git a/sapi/embed/php_embed.c b/sapi/embed/php_embed.c index 414b4db..0ed475c 100644 --- a/sapi/embed/php_embed.c +++ b/sapi/embed/php_embed.c @@ -44,10 +44,10 @@ static int php_embed_deactivate(TSRMLS_D) return SUCCESS; } -static inline size_t php_embed_single_write(const char *str, uint str_length) +static inline size_t php_embed_single_write(const char *str, zend_str_size_uint str_length) { #ifdef PHP_WRITE_STDOUT - long ret; + php_int_t ret; ret = write(STDOUT_FILENO, str, str_length); if (ret <= 0) return 0; @@ -61,10 +61,10 @@ static inline size_t php_embed_single_write(const char *str, uint str_length) } -static int php_embed_ub_write(const char *str, uint str_length TSRMLS_DC) +static zend_str_size_int php_embed_ub_write(const char *str, zend_str_size_uint str_length TSRMLS_DC) { const char *ptr = str; - uint remaining = str_length; + zend_str_size_uint remaining = str_length; size_t ret; while (remaining > 0) { -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php