diff options
author | Joe Watkins <krakjoe@php.net> | 2016-04-29 10:20:27 +0100 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2016-04-29 10:20:27 +0100 |
commit | 12f826d7df6eceb2fe985fc0dd76b5393566e059 (patch) | |
tree | 24b40fcda9fdec9ded69ae76b2889293a7709f92 /ext/readline | |
parent | 19c0335609ac9a84eaec048ffb7fdcf1312689cd (diff) | |
parent | dbae1653daba7524f10642155c8c46a907970151 (diff) | |
download | php-git-12f826d7df6eceb2fe985fc0dd76b5393566e059.tar.gz |
Merge branch 'PHP-7.0'
* PHP-7.0:
fix size_t signed comparison
Diffstat (limited to 'ext/readline')
-rw-r--r-- | ext/readline/readline_cli.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/readline/readline_cli.c b/ext/readline/readline_cli.c index 6f4e47d42b..2cce2292f4 100644 --- a/ext/readline/readline_cli.c +++ b/ext/readline/readline_cli.c @@ -106,7 +106,8 @@ static size_t readline_shell_ub_write(const char *str, size_t str_length) /* {{{ caller (sapi_cli_single_write in sapi/cli) which will actually write due to -1 return code */ php_last_char = str[str_length-1]; - return -1; + + return (size_t) -1; } /* }}} */ |