diff options
Diffstat (limited to 'apps/codecs/spc')
-rw-r--r-- | apps/codecs/spc/Spc_Dsp.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/codecs/spc/Spc_Dsp.h b/apps/codecs/spc/Spc_Dsp.h index 3f66919db2..d670b20c52 100644 --- a/apps/codecs/spc/Spc_Dsp.h +++ b/apps/codecs/spc/Spc_Dsp.h | |||
@@ -298,7 +298,8 @@ static void decode_brr( struct Spc_Dsp* this, unsigned start_addr, | |||
298 | if ( addr == loop_ptr ) | 298 | if ( addr == loop_ptr ) |
299 | { | 299 | { |
300 | loop_start = out; | 300 | loop_start = out; |
301 | DEBUGF( "loop at %08x (wave #%d)\n", addr - RAM, raw_voice->waveform ); | 301 | DEBUGF( "loop at %08lx (wave #%d)\n", |
302 | (unsigned long)(addr - RAM), raw_voice->waveform ); | ||
302 | } | 303 | } |
303 | 304 | ||
304 | /* header */ | 305 | /* header */ |
@@ -398,7 +399,8 @@ static void decode_brr( struct Spc_Dsp* this, unsigned start_addr, | |||
398 | } | 399 | } |
399 | } | 400 | } |
400 | 401 | ||
401 | DEBUGF( "end at %08x (wave #%d)\n", addr - RAM, raw_voice->waveform ); | 402 | DEBUGF( "end at %08lx (wave #%d)\n", |
403 | (unsigned long)(addr - RAM), raw_voice->waveform ); | ||
402 | 404 | ||
403 | /* add to cache */ | 405 | /* add to cache */ |
404 | this->wave_entry_old [this->oldsize++] = *wave_entry; | 406 | this->wave_entry_old [this->oldsize++] = *wave_entry; |