mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 12:48:16 +00:00
Cast %c error() parameters to byte before printing, like we do elsewhere.
svn-id: r8461
This commit is contained in:
parent
423ccef9a2
commit
6c1a5573af
@ -1119,7 +1119,11 @@ void Sound::bundleMusicHandler(Scumm *scumm) {
|
||||
break;
|
||||
|
||||
default:
|
||||
error("Unknown sound header %c%c%c%c", tag>>24, tag>>16, tag>>8, tag);
|
||||
error("Unknown sound header %c%c%c%c",
|
||||
(byte)(tag >> 24),
|
||||
(byte)(tag >> 16),
|
||||
(byte)(tag >> 8),
|
||||
(byte)tag);
|
||||
}
|
||||
}
|
||||
if (size < 0) {
|
||||
@ -1249,7 +1253,11 @@ int Sound::playBundleSound(char *sound) {
|
||||
break;
|
||||
|
||||
default:
|
||||
error("Unknown sound header %c%c%c%c", tag >> 24, tag >> 16, tag >> 8, tag);
|
||||
error("Unknown sound header %c%c%c%c",
|
||||
(byte)(tag >> 24),
|
||||
(byte)(tag >> 16),
|
||||
(byte)(tag >> 8),
|
||||
(byte)tag);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user