Fix if char is signed type
This commit is contained in:
parent
ff50691de9
commit
eb8b0dc471
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ namespace {
|
|||
const char escape_char = 1;
|
||||
}
|
||||
|
||||
static bool needs_escaping(char c) { return c == 0 || c == escape_char || c == 13 || c == 254; }
|
||||
static bool needs_escaping(char c) { return c == 0 || c == escape_char || c == 13 || c == static_cast<char>(254); }
|
||||
|
||||
static bool IsCR(const char& c)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue