From: <man...@us...> - 2013-06-30 16:11:37
|
Revision: 2448 http://sourceforge.net/p/modplug/code/2448 Author: manxorist Date: 2013-06-30 16:11:29 +0000 (Sun, 30 Jun 2013) Log Message: ----------- [Ref] Silence a gcc warning. Modified Paths: -------------- trunk/OpenMPT/soundlib/Snd_fx.cpp Modified: trunk/OpenMPT/soundlib/Snd_fx.cpp =================================================================== --- trunk/OpenMPT/soundlib/Snd_fx.cpp 2013-06-30 16:07:07 UTC (rev 2447) +++ trunk/OpenMPT/soundlib/Snd_fx.cpp 2013-06-30 16:11:29 UTC (rev 2448) @@ -995,7 +995,7 @@ // save the note that's actually used, as it's necessary to properly calculate PPS and stuff const int realnote = note; - if((pIns) && (note - NOTE_MIN < CountOf(pIns->Keyboard))) + if((pIns) && (note - NOTE_MIN < (int)CountOf(pIns->Keyboard))) { UINT n = pIns->Keyboard[note - NOTE_MIN]; if((n) && (n < MAX_SAMPLES)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |