[Scummvm-cvs-logs] CVS: scummvm/scumm/imuse_digi dimuse_sndmgr.cpp,1.53,1.54

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Sun Sep 12 11:22:45 CEST 2004


Update of /cvsroot/scummvm/scummvm/scumm/imuse_digi
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1415/scumm/imuse_digi

Modified Files:
	dimuse_sndmgr.cpp 
Log Message:
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.


Index: dimuse_sndmgr.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/imuse_digi/dimuse_sndmgr.cpp,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- dimuse_sndmgr.cpp	28 Aug 2004 14:33:34 -0000	1.53
+++ dimuse_sndmgr.cpp	12 Sep 2004 18:21:21 -0000	1.54
@@ -419,7 +419,7 @@
 }
 
 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;





More information about the Scummvm-git-logs mailing list