hxmod-player: more shadowing warning fixes

This commit is contained in:
Matthias Ringwald 2017-05-22 12:47:20 +02:00
parent f319854513
commit 664a636e99
2 changed files with 6 additions and 6 deletions

View File

@ -208,7 +208,7 @@ static int getnote( modcontext * mod, unsigned short period, int finetune )
return MAXNOTES;
}
static void worknote( note * nptr, channel * cptr,char t,modcontext * mod )
static void worknote( note * nptr, hxcmod_channel * cptr,char t,modcontext * mod )
{
(void) t;
muint _sample, period, effect, operiod;
@ -685,7 +685,7 @@ static void worknote( note * nptr, channel * cptr,char t,modcontext * mod )
}
static void workeffect( note * nptr, channel * cptr )
static void workeffect( note * nptr, hxcmod_channel * cptr )
{
(void) nptr;
@ -1031,7 +1031,7 @@ void hxcmod_fillbuffer( modcontext * modctx, unsigned short * outbuffer, unsigne
int tl,tr;
short finalperiod;
note *nptr;
channel *cptr;
hxcmod_channel *cptr;
if( modctx && outbuffer )
{
@ -1070,7 +1070,7 @@ void hxcmod_fillbuffer( modcontext * modctx, unsigned short * outbuffer, unsigne
for(c=0;c<modctx->number_of_channels;c++)
{
worknote((note*)(nptr+c), (channel*)(cptr+c),(char)(c+1),modctx);
worknote((note*)(nptr+c), (hxcmod_channel*)(cptr+c),(char)(c+1),modctx);
}
if( !modctx->jump_loop_effect )

View File

@ -100,7 +100,7 @@ typedef struct {
muint patternloopcnt;
muint patternloopstartpoint;
} channel;
} hxcmod_channel;
typedef struct {
module song;
@ -120,7 +120,7 @@ typedef struct {
mulong samplenb;
channel channels[NUMMAXCHANNELS];
hxcmod_channel channels[NUMMAXCHANNELS];
muint number_of_channels;