diff options
author | Colin Snover | 2017-03-30 14:02:27 -0500 |
---|---|---|
committer | Colin Snover | 2017-03-30 14:23:41 -0500 |
commit | a233696212c1707be4c993de8c36228137475af1 (patch) | |
tree | 9ee46dc8e2dc68aec38dcbaadc1f6da2984c20e8 /engines/sci/resource_audio.cpp | |
parent | 993d83fe4b65cc30d43ceb4de38c036889a6f4ae (diff) | |
download | scummvm-rg350-a233696212c1707be4c993de8c36228137475af1.tar.gz scummvm-rg350-a233696212c1707be4c993de8c36228137475af1.tar.bz2 scummvm-rg350-a233696212c1707be4c993de8c36228137475af1.zip |
SCI: Update formatting strings to match updated Span API
Diffstat (limited to 'engines/sci/resource_audio.cpp')
-rw-r--r-- | engines/sci/resource_audio.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/resource_audio.cpp b/engines/sci/resource_audio.cpp index 0125a0e19b..7423890903 100644 --- a/engines/sci/resource_audio.cpp +++ b/engines/sci/resource_audio.cpp @@ -85,7 +85,7 @@ bool Resource::loadFromWaveFile(Common::SeekableReadStream *file) { uint32 bytesRead = file->read(ptr, _size); if (bytesRead != _size) - error("Read %d bytes from %s but expected %lu", bytesRead, _id.toString().c_str(), _size); + error("Read %d bytes from %s but expected %u", bytesRead, _id.toString().c_str(), _size); _status = kResStatusAllocated; return true; @@ -139,12 +139,12 @@ bool Resource::loadFromAudioVolumeSCI1(Common::SeekableReadStream *file) { _data = ptr; if (!ptr) { - error("Can't allocate %lu bytes needed for loading %s", _size, _id.toString().c_str()); + error("Can't allocate %u bytes needed for loading %s", _size, _id.toString().c_str()); } uint32 bytesRead = file->read(ptr, size()); if (bytesRead != size()) - warning("Read %d bytes from %s but expected %lu", bytesRead, _id.toString().c_str(), _size); + warning("Read %d bytes from %s but expected %u", bytesRead, _id.toString().c_str(), _size); _status = kResStatusAllocated; return true; |