Skip to content

Commit 1a1db37

Browse files
author
gisle
committed
avoid Visual C warning. Patch by [email protected].
1 parent 8d408c4 commit 1a1db37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tokenpos.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ typedef struct token_pos token_pos_t;
1515
STMT_START { \
1616
++num_tokens; \
1717
if (num_tokens == token_lim) \
18-
tokens_grow(&tokens, &token_lim, (tokens != token_buf)); \
18+
tokens_grow(&tokens, &token_lim, (bool)(tokens != token_buf)); \
1919
tokens[num_tokens-1].beg = p_beg; \
2020
tokens[num_tokens-1].end = p_end; \
2121
} STMT_END

0 commit comments

Comments
 (0)