Build: Make literal casting have fewer warnings and be more consistent.
This commit is contained in:
parent
5fe506a8ba
commit
866f67140e
2 changed files with 24 additions and 24 deletions
|
|
@ -239,7 +239,7 @@ int TPpContext::TokenStream::getToken(TParseContextBase& parseContext, TPpToken
|
|||
if (SaveValue(atom)) {
|
||||
char* n = reinterpret_cast<char*>(&ppToken->i64val);
|
||||
for (size_t i = 0; i < sizeof(ppToken->i64val); ++i)
|
||||
*n++ = getSubtoken();
|
||||
*n++ = (char)getSubtoken();
|
||||
}
|
||||
|
||||
return atom;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue