fix clang warning for signed unsigned comparison

This commit is contained in:
pentarctagon 2024-09-27 11:43:29 -05:00 committed by Pentarctagon
parent 1d5d73b75a
commit d20128530a

View file

@ -1126,7 +1126,7 @@ bool preprocessor_data::get_chunk()
++linenum_;
}
if(c == INLINED_PREPROCESS_DIRECTIVE_CHAR) {
if(c == static_cast<char>(INLINED_PREPROCESS_DIRECTIVE_CHAR)) {
std::string buffer(1, c);
while(true) {