summaryrefslogtreecommitdiff
path: root/src/scanner.c
diff options
context:
space:
mode:
authorReini Urban <rurban@cpanel.net>2016-09-13 15:37:56 +0200
committerTina Müller <cpan2@tinita.de>2018-07-18 21:22:15 +0200
commit551ad48994360f994af0649686885aa3946e029f (patch)
treed17fae90fa938e6a1447eb7fb635023395a31d5d /src/scanner.c
parent75eddf785fedc2aeb9bf96db5a9bee97f7e4e72e (diff)
downloadlibyaml-git-551ad48994360f994af0649686885aa3946e029f.tar.gz
fix clang -Wlogical-op warnings
Commit amended by @perlpunk after suggestion from @tlsa
Diffstat (limited to 'src/scanner.c')
-rw-r--r--src/scanner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scanner.c b/src/scanner.c
index cbe5c6f..ceee749 100644
--- a/src/scanner.c
+++ b/src/scanner.c
@@ -2860,7 +2860,7 @@ yaml_parser_scan_block_scalar(yaml_parser_t *parser, yaml_token_t *token,
if (!CACHE(parser, 1)) goto error;
- while ((int)parser->mark.column == indent && !IS_Z(parser->buffer))
+ while ((int)parser->mark.column == indent && !(IS_Z(parser->buffer)))
{
/*
* We are at the beginning of a non-empty line.