diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-04-20 15:03:43 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-04-20 15:03:43 -0400 |
commit | adc0e91ddbe70c2127d39c337d9b4a09ea752425 (patch) | |
tree | 36d573976865ff5793812edb6ea3261799bfb742 /syntax.c | |
parent | a57a9682e74ff3609acb2ca6697fc6fa94c23fb6 (diff) |
silence GCC warnings
Diffstat (limited to 'syntax.c')
-rw-r--r-- | syntax.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -573,8 +573,10 @@ static void syntax_highlight_python(SyntaxState *state, char32_t const *line, u3 } *state = 0; if (in_string && string_is_multiline) { - *state |= SYNTAX_STATE_PYTHON_STRING - | (SYNTAX_STATE_PYTHON_STRING_DBL_QUOTED * string_is_dbl_quoted); + *state |= (SyntaxState)( + SYNTAX_STATE_PYTHON_STRING + | (SYNTAX_STATE_PYTHON_STRING_DBL_QUOTED * string_is_dbl_quoted) + ); } } |