mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 15:29:55 +00:00
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.
This commit is contained in:
parent
b7614dd0ce
commit
e21e8c221d
2 changed files with 769 additions and 769 deletions
|
@ -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…
Reference in a new issue