|
From: <man...@us...> - 2013-05-25 08:11:32
|
Revision: 2185
http://sourceforge.net/p/modplug/code/2185
Author: manxorist
Date: 2013-05-25 08:11:21 +0000 (Sat, 25 May 2013)
Log Message:
-----------
[Fix] Fix types of format string arguments to match format specifier on non-windows 64bit systems.
Modified Paths:
--------------
trunk/OpenMPT/soundlib/Load_mod.cpp
trunk/OpenMPT/soundlib/MIDIMacros.cpp
Modified: trunk/OpenMPT/soundlib/Load_mod.cpp
===================================================================
--- trunk/OpenMPT/soundlib/Load_mod.cpp 2013-05-24 20:36:35 UTC (rev 2184)
+++ trunk/OpenMPT/soundlib/Load_mod.cpp 2013-05-25 08:11:21 UTC (rev 2185)
@@ -1184,7 +1184,7 @@
}
} else
{
- sprintf(modMagic, "%luCHN", writeChannels);
+ sprintf(modMagic, "%uCHN", writeChannels);
}
fwrite(&modMagic, 4, 1, f);
Modified: trunk/OpenMPT/soundlib/MIDIMacros.cpp
===================================================================
--- trunk/OpenMPT/soundlib/MIDIMacros.cpp 2013-05-24 20:36:35 UTC (rev 2184)
+++ trunk/OpenMPT/soundlib/MIDIMacros.cpp 2013-05-25 08:11:21 UTC (rev 2185)
@@ -141,7 +141,7 @@
void MIDIMacroConfig::CreateFixedMacro(char (&fixedMacros)[128][MACRO_LENGTH], fixedMacroType macroType) const
//------------------------------------------------------------------------------------------------------------
{
- for(size_t i = 0; i < 128; i++)
+ for(unsigned int i = 0; i < 128; i++)
{
switch(macroType)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|