Build: Make literal casting have fewer warnings and be more consistent.

This commit is contained in:
John Kessenich 2018-06-20 18:10:55 -06:00
parent 5fe506a8ba
commit 866f67140e
2 changed files with 24 additions and 24 deletions

View file

@ -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;