diff options
author | Jakub Zelenka <bukka@php.net> | 2016-05-03 19:55:55 +0100 |
---|---|---|
committer | Jakub Zelenka <bukka@php.net> | 2016-05-03 19:55:55 +0100 |
commit | afb4062c2c66d3080c08693af47c670bb63c285e (patch) | |
tree | 4c860a31501a3dadf59c0b9322f7f52764ae75d3 /sapi/cli/php_cli.c | |
parent | 37048c0f6cef53b015c04c8370f94e6597588fdc (diff) | |
parent | 34a9882ad357620ccec2bfadba72fce027acd3d6 (diff) | |
download | php-git-afb4062c2c66d3080c08693af47c670bb63c285e.tar.gz |
Merge branch 'json_parser_method' into json_parser_method_embed
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 6683f21393..09ce00f9e7 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -304,7 +304,7 @@ static size_t sapi_cli_ub_write(const char *str, size_t str_length) /* {{{ */ if (cli_shell_callbacks.cli_shell_ub_write) { size_t ub_wrote; ub_wrote = cli_shell_callbacks.cli_shell_ub_write(str, str_length); - if (ub_wrote > -1) { + if (ub_wrote != (size_t) -1) { return ub_wrote; } } |