mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
GROOVIE: Fix -Wformat warnings on 32-bit archs
This commit is contained in:
parent
bf6e38ca4a
commit
4f7ff00250
@ -545,7 +545,7 @@ bool ROQPlayer::processBlock() {
|
||||
}
|
||||
|
||||
if (endpos != _file->pos() && !_file->eos()) {
|
||||
warning("Groovie::ROQ: BLOCK %04x Should have ended at %ld, and has ended at %d", blockHeader.type, endpos, (int)_file->pos());
|
||||
warning("Groovie::ROQ: BLOCK %04x Should have ended at %lld, and has ended at %lld", blockHeader.type, (long long)endpos, (long long)_file->pos());
|
||||
warning("Ensure you've copied the files correctly according to the wiki.");
|
||||
_file->seek(MIN(_file->pos(), endpos));
|
||||
}
|
||||
@ -699,7 +699,7 @@ bool ROQPlayer::processBlockQuadVector(ROQBlockHeader &blockHeader) {
|
||||
}
|
||||
_file->skip(skipBytes);
|
||||
if (skipBytes != 2) {
|
||||
warning("Groovie::ROQ: Skipped %ld bytes", skipBytes);
|
||||
warning("Groovie::ROQ: Skipped %lld bytes", (long long)skipBytes);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user