mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 23:57:32 +00:00
SWORD25: Fix format string warning.
This commit is contained in:
parent
530bf27af6
commit
7557cbd617
@ -291,7 +291,7 @@ bool PersistenceService::saveGame(uint slotID, const Common::String &screenshotF
|
||||
// Write the save game data uncompressed, since the final saved game will be
|
||||
// compressed anyway.
|
||||
char sBuffer[10];
|
||||
snprintf(sBuffer, 10, "%ld", writer.getDataSize());
|
||||
snprintf(sBuffer, 10, "%u", writer.getDataSize());
|
||||
file->writeString(sBuffer);
|
||||
file->writeByte(0);
|
||||
snprintf(sBuffer, 10, "%u", writer.getDataSize());
|
||||
|
Loading…
Reference in New Issue
Block a user