summaryrefslogtreecommitdiff
path: root/apps/plugins/mikmod/load_m15.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mikmod/load_m15.c')
-rw-r--r--apps/plugins/mikmod/load_m15.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugins/mikmod/load_m15.c b/apps/plugins/mikmod/load_m15.c
index d97378aab3..b5d5329bf0 100644
--- a/apps/plugins/mikmod/load_m15.c
+++ b/apps/plugins/mikmod/load_m15.c
@@ -147,12 +147,12 @@ static int LoadModuleHeader(MODULEHEADER *mh)
147 Returns: 0 indecisive; 1 = UST; 2 = 15-inst */ 147 Returns: 0 indecisive; 1 = UST; 2 = 15-inst */
148static int CheckPatternType(int numpat) 148static int CheckPatternType(int numpat)
149{ 149{
150 int t; 150 unsigned int t;
151 UBYTE eff, dat; 151 UBYTE eff, dat;
152 152
153 for(t=0;t<numpat*(64U*4);t++) { 153 for(t=0;t<numpat*(64U*4);t++) {
154 /* Load the pattern into the temp buffer and scan it */ 154 /* Load the pattern into the temp buffer and scan it */
155 _mm_read_UBYTE(modreader);_mm_read_UBYTE(modreader); 155 (void)_mm_read_UBYTE(modreader);(void)_mm_read_UBYTE(modreader);
156 eff = _mm_read_UBYTE(modreader); 156 eff = _mm_read_UBYTE(modreader);
157 dat = _mm_read_UBYTE(modreader); 157 dat = _mm_read_UBYTE(modreader);
158 158
@@ -372,7 +372,8 @@ static UBYTE *M15_ConvertTrack(MODNOTE* n)
372/* Loads all patterns of a modfile and converts them into the 3 byte format. */ 372/* Loads all patterns of a modfile and converts them into the 3 byte format. */
373static int M15_LoadPatterns(void) 373static int M15_LoadPatterns(void)
374{ 374{
375 int t,s,tracks=0; 375 int t,tracks=0;
376 unsigned int s;
376 377
377 if(!AllocPatterns()) return 0; 378 if(!AllocPatterns()) return 0;
378 if(!AllocTracks()) return 0; 379 if(!AllocTracks()) return 0;