diff options
author | Torbjörn Andersson | 2004-09-12 18:21:21 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-09-12 18:21:21 +0000 |
commit | dc461ca770c763aae6888269ce115d4890f95bc6 (patch) | |
tree | 13f6431ded773e184e8bec734b2234dd1ad425ab /scumm | |
parent | 7688c017e162fc0808891eee22e074b69d651abf (diff) | |
download | scummvm-rg350-dc461ca770c763aae6888269ce115d4890f95bc6.tar.gz scummvm-rg350-dc461ca770c763aae6888269ce115d4890f95bc6.tar.bz2 scummvm-rg350-dc461ca770c763aae6888269ce115d4890f95bc6.zip |
Fixed some other cases where the number of parameters to our message-
printing functions didn't agree with the format strings.
GCC will find a couple of other things to warn about if these functions
are labelled as printf()-style functions, but those were less important, I
think.
svn-id: r15081
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/imuse_digi/dimuse_sndmgr.cpp | 2 | ||||
-rw-r--r-- | scumm/resource_v7he.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scumm/imuse_digi/dimuse_sndmgr.cpp b/scumm/imuse_digi/dimuse_sndmgr.cpp index 390553f6b6..3e555b8b99 100644 --- a/scumm/imuse_digi/dimuse_sndmgr.cpp +++ b/scumm/imuse_digi/dimuse_sndmgr.cpp @@ -419,7 +419,7 @@ int ImuseDigiSndMgr::getNumJumps(soundStruct *soundHandle) { } int ImuseDigiSndMgr::getRegionOffset(soundStruct *soundHandle, int region) { - debug(5, "getRegionOffset() region:%d"); + debug(5, "getRegionOffset() region:%d", region); assert(checkForProperHandle(soundHandle)); assert(region >= 0 && region < soundHandle->numRegions); return soundHandle->region[region].offset; diff --git a/scumm/resource_v7he.cpp b/scumm/resource_v7he.cpp index 1d597d581e..bf18d82658 100644 --- a/scumm/resource_v7he.cpp +++ b/scumm/resource_v7he.cpp @@ -296,7 +296,7 @@ byte *Win32ResExtractor::extract_group_icon_cursor_resource(WinLibrary *fi, WinR } if ((uint32)iconsize != icondir->entries[c].bytes_in_res) { debugC(DEBUG_RESOURCE, "%s: mismatch of size in icon resource `%s' and group (%d != %d)", - fi->file->name(), name, iconsize, 1, icondir->entries[c].bytes_in_res); + fi->file->name(), name, iconsize, icondir->entries[c].bytes_in_res); } size += iconsize; /* size += icondir->entries[c].bytes_in_res; */ |