com php-src: catch up with zend_html_puts: main/main. c main/php_main.h
| From: | Anatol Belski | Date: | Mon, 27 Oct 2014 15:38:49 +0000 |
| Subject: | com php-src: catch up with zend_html_puts: main/main. c main/php_main.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-82703@lists.php.net to get a copy of this message | ||
Commit: 05f812c8d33221e8f9056978861fde479c8b2d79
Author: Anatol Belski <ab@php.net> Mon, 27 Oct 2014 13:17:37 +0100
Parents: e99040659eda6b2131ac76c8a15677aa896e4577
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=05f812c8d33221e8f9056978861fde479c8b2d79
Log:
catch up with zend_html_puts
Changed paths:
M main/main.c
M main/php_main.h
Diff:
diff --git a/main/main.c b/main/main.c
index 740d2e4..8288315 100644
--- a/main/main.c
+++ b/main/main.c
@@ -990,7 +990,7 @@ PHPAPI void php_win32_docref2_from_error(DWORD error, const char *param1, const
#endif
/* {{{ php_html_puts */
-PHPAPI void php_html_puts(const char *str, uint size TSRMLS_DC)
+PHPAPI void php_html_puts(const char *str, size_t size TSRMLS_DC)
{
zend_html_puts(str, size TSRMLS_CC);
}
diff --git a/main/php_main.h b/main/php_main.h
index 07d7dc2..f03e644 100644
--- a/main/php_main.h
+++ b/main/php_main.h
@@ -47,7 +47,7 @@ PHPAPI int php_lint_script(zend_file_handle *file TSRMLS_DC);
PHPAPI void php_handle_aborted_connection(void);
PHPAPI int php_handle_auth_data(const char *auth TSRMLS_DC);
-PHPAPI void php_html_puts(const char *str, uint siz TSRMLS_DC);
+PHPAPI void php_html_puts(const char *str, size_t siz TSRMLS_DC);
PHPAPI int php_stream_open_for_zend_ex(const char *filename, zend_file_handle *handle, int mode
TSRMLS_DC);
extern void php_call_shutdown_functions(TSRMLS_D);