diff options
-rw-r--r-- | include/clang/Lex/PTHLexer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Lex/PTHLexer.h b/include/clang/Lex/PTHLexer.h index b5655ffb81..479e45d2f3 100644 --- a/include/clang/Lex/PTHLexer.h +++ b/include/clang/Lex/PTHLexer.h @@ -80,7 +80,7 @@ public: // whether or not we are at a token with kind tok::eof or tok::l_paren. // Just read the first byte from the current token pointer to determine // its kind. - tok::TokenKind x = (tok::TokenKind) (uint8_t) *CurPtr; + tok::TokenKind x = (tok::TokenKind) (unsigned char) *CurPtr; return x == tok::eof ? 2 : x == tok::l_paren; } |