From dbde36bfe1fbefca9e0876675b7a4ff832a26906 Mon Sep 17 00:00:00 2001 From: Sjoerd van der Berg Date: Mon, 23 Aug 2004 09:18:58 +0000 Subject: [PATCH] Keep GCC happy! Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1914 --- src/hardware/mixer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hardware/mixer.cpp b/src/hardware/mixer.cpp index ec6af869..360507d2 100644 --- a/src/hardware/mixer.cpp +++ b/src/hardware/mixer.cpp @@ -166,10 +166,10 @@ INLINE void MixerChannel::AddSamples(Bitu len,void * data) { Bit16s * data16=(Bit16s*)data; Bitu mixpos=mixer.pos+done; freq_index&=MIXER_REMAIN; - Bitu pos=0; + Bitu pos=0;Bitu new_pos; goto thestart; while (1) { - Bitu new_pos=freq_index >> MIXER_SHIFT; + new_pos=freq_index >> MIXER_SHIFT; if (pos