diff options
author | Nikita Popov <nikic@php.net> | 2014-09-04 22:50:34 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2014-09-05 11:20:06 +0200 |
commit | c48a126ba462e71d0b7b524064991121243f5459 (patch) | |
tree | 9301369e1337852dc17f6795b8f95a0477b3978d /ext/readline | |
parent | c7206771628c2119eb10444148e936265971ca33 (diff) | |
download | php-git-c48a126ba462e71d0b7b524064991121243f5459.tar.gz |
Fix readline warnings
Diffstat (limited to 'ext/readline')
-rw-r--r-- | ext/readline/readline_cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/readline/readline_cli.c b/ext/readline/readline_cli.c index a6aeae6779..c7fb0438e9 100644 --- a/ext/readline/readline_cli.c +++ b/ext/readline/readline_cli.c @@ -79,7 +79,7 @@ ZEND_DECLARE_MODULE_GLOBALS(cli_readline); static char php_last_char = '\0'; static FILE *pager_pipe = NULL; -static size_t readline_shell_write(const char *str, uint str_length TSRMLS_DC) /* {{{ */ +static size_t readline_shell_write(const char *str, size_t str_length TSRMLS_DC) /* {{{ */ { if (CLIR_G(prompt_str)) { smart_str_appendl(CLIR_G(prompt_str), str, str_length); @@ -97,7 +97,7 @@ static size_t readline_shell_write(const char *str, uint str_length TSRMLS_DC) / } /* }}} */ -static int readline_shell_ub_write(const char *str, uint str_length TSRMLS_DC) /* {{{ */ +static size_t readline_shell_ub_write(const char *str, size_t str_length TSRMLS_DC) /* {{{ */ { /* We just store the last char here and then pass back to the caller (sapi_cli_single_write in sapi/cli) which will actually |