fade: cosmetic cleanups
[paraslash.git] / mp3dec.c
index a1374b7319b1e66167ab316c3ee03a588f5a8327..335c2baaea66f2ac6b9392b177958101fc36b0e2 100644 (file)
--- a/mp3dec.c
+++ b/mp3dec.c
@@ -74,7 +74,7 @@ next_frame:
        mad_synth_frame(&pmd->synth, &pmd->frame);
 
        for (i = 0; i < pmd->synth.pcm.length; i++) {
-               signed short s = MAD_TO_SHORT(pmd->synth.pcm.samples[0][i]);
+               int s = MAD_TO_SHORT(pmd->synth.pcm.samples[0][i]);
                write_int16_host_endian(fn->buf + fn->loaded, s);
                fn->loaded += 2;
                if (MAD_NCHANNELS(&pmd->frame.header) == 2) { /* stereo */