diff options
author | Kevin Wojniak <[email protected]> | 2015-08-10 09:53:46 -0700 |
---|---|---|
committer | Kevin Wojniak <[email protected]> | 2015-08-10 09:53:46 -0700 |
commit | 59bcd222c3ef1a64045e27db24ffddeb99ee29d4 (patch) | |
tree | e6693373d39137c3b2e66ea205c55670d02bf282 /src/iterator.c | |
parent | 7baf9297f4f2e368c7c91ac76e16e88902987ec6 (diff) |
Remove need to disable MSVC warning 4800
Diffstat (limited to 'src/iterator.c')
-rw-r--r-- | src/iterator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iterator.c b/src/iterator.c index 81b6f48..19dfff8 100644 --- a/src/iterator.c +++ b/src/iterator.c @@ -31,7 +31,7 @@ cmark_iter *cmark_iter_new(cmark_node *root) { void cmark_iter_free(cmark_iter *iter) { free(iter); } static bool S_is_leaf(cmark_node *node) { - return (1 << node->type) & S_leaf_mask; + return ((1 << node->type) & S_leaf_mask) != 0; } cmark_event_type cmark_iter_next(cmark_iter *iter) { |