Added explicit cast to char in ToUTF8::windows_XXXX tables.

Added explicit cast to char, without that gcc 4.7 (with default settings)
is showing a lot of:

narrowing conversion of ‘...’ from ‘int’ to ‘char’ inside { } is ill-formed in C++11 [-Wnarrowing]

warnings.
actorid
Lukasz Gromanowski 13 years ago
parent b7614dd0ce
commit e21e8c221d

@ -12,7 +12,7 @@ void tab() { cout << " "; }
// write one number with a space in front of it and a comma after it
void num(unsigned char i, bool last)
{
cout << " 0x" << (unsigned)i;
cout << " (char)0x" << (unsigned)i;
if(!last) cout << ",";
}

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save