summaryrefslogtreecommitdiff
path: root/arm7/lib/src
diff options
context:
space:
mode:
Diffstat (limited to 'arm7/lib/src')
-rw-r--r--arm7/lib/src/SND_seq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arm7/lib/src/SND_seq.c b/arm7/lib/src/SND_seq.c
index e16ca9be..d4f6b7b1 100644
--- a/arm7/lib/src/SND_seq.c
+++ b/arm7/lib/src/SND_seq.c
@@ -711,7 +711,7 @@ static void TrackUpdateChannel(struct SNDTrack *track, struct SNDPlayer *player,
for (struct SNDExChannel *chn = track->channelLLHead; chn != NULL; chn = chn->channelLLNext)
{
- chn->userDecay2 = (short)fader;
+ chn->userDecay2 = (s16)fader;
if (chn->envStatus == 3)
continue;
@@ -820,7 +820,7 @@ static void TrackPlayNote(
chn->sweepPitch = track->sweepPitch;
if (track->flags.portamento)
- chn->sweepPitch += (short)((track->portamentoKey - midiKey) << 6);
+ chn->sweepPitch += (s16)((track->portamentoKey - midiKey) << 6);
if (track->portamentoTime == 0)
{