summaryrefslogtreecommitdiff
path: root/main/php_output.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-10-27 13:08:21 +0100
committerAnatol Belski <ab@php.net>2014-10-27 16:38:47 +0100
commit11b119d526229672b3574036beb07effacfa8815 (patch)
tree111ff06c9648edf57b8fa24683e25969f698eedd /main/php_output.h
parent82c36cf5e8f830b79352251eb2785a1133c4aeff (diff)
downloadphp-git-11b119d526229672b3574036beb07effacfa8815.tar.gz
fix datatype mismatches
Diffstat (limited to 'main/php_output.h')
-rw-r--r--main/php_output.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/php_output.h b/main/php_output.h
index 02b2b85d13..c176063c3b 100644
--- a/main/php_output.h
+++ b/main/php_output.h
@@ -110,7 +110,7 @@ typedef struct _php_output_context {
#define PHP_OUTPUT_TSRMLS(ctx) TSRMLS_FETCH_FROM_CTX((ctx)->tsrm_ls)
/* old-style, stateless callback */
-typedef void (*php_output_handler_func_t)(char *output, uint output_len, char **handled_output, uint *handled_output_len, int mode TSRMLS_DC);
+typedef void (*php_output_handler_func_t)(char *output, size_t output_len, char **handled_output, size_t *handled_output_len, int mode TSRMLS_DC);
/* new-style, opaque context callback */
typedef int (*php_output_handler_context_func_t)(void **handler_context, php_output_context *output_context);
/* output handler context dtor */
@@ -206,8 +206,8 @@ PHPAPI void php_output_set_implicit_flush(int flush TSRMLS_DC);
PHPAPI const char *php_output_get_start_filename(TSRMLS_D);
PHPAPI int php_output_get_start_lineno(TSRMLS_D);
-PHPAPI int php_output_write_unbuffered(const char *str, size_t len TSRMLS_DC);
-PHPAPI int php_output_write(const char *str, size_t len TSRMLS_DC);
+PHPAPI size_t php_output_write_unbuffered(const char *str, size_t len TSRMLS_DC);
+PHPAPI size_t php_output_write(const char *str, size_t len TSRMLS_DC);
PHPAPI int php_output_flush(TSRMLS_D);
PHPAPI void php_output_flush_all(TSRMLS_D);