From 2d5755a80ed3070c878e0cf4e319999257e7ed8c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 27 Sep 2010 22:42:35 +0000 Subject: [PATCH] - fix GCC warning. SVN r2858 (trunk) --- src/sound/music_hmi_midiout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/music_hmi_midiout.cpp b/src/sound/music_hmi_midiout.cpp index e22149f8d..24bd9e041 100644 --- a/src/sound/music_hmi_midiout.cpp +++ b/src/sound/music_hmi_midiout.cpp @@ -423,7 +423,7 @@ void HMISong::CheckCaps(int tech) { Tracks[i].Enabled = false; // Track designations are stored in a 0-terminated array. - for (int j = 0; j < countof(Tracks[i].Designation) && Tracks[i].Designation[j] != 0; ++j) + for (unsigned int j = 0; j < countof(Tracks[i].Designation) && Tracks[i].Designation[j] != 0; ++j) { if (Tracks[i].Designation[j] == tech) {