Fix build in Visual Studio (2013)

Tested with Visual Studio 2013.
This commit is contained in:
chosenofbear 2015-06-17 09:12:19 -04:00
parent 6380a93cec
commit c375d27daa
22 changed files with 58 additions and 10 deletions

View file

@ -186,7 +186,7 @@ diff -r 719dade41745 decoders/wav.c
+ break;
+
+ rc = read_ima_block_headers(internal->rw, fmt->fmt.ima.d,
+ fmt->wChannels, (Sint16*) (out_buf+bw));
+ fmt->wChannels, (Sint16*)out_buf+bw);
+
+ if (!rc)
+ {
@ -210,7 +210,7 @@ diff -r 719dade41745 decoders/wav.c
+ if (bw+fmt->fmt.ima.dec_frameset_size > internal->buffer_size)
+ break;
+
+ rc = read_ima_frameset(internal->rw, w, (Sint16*) (out_buf+bw));
+ rc = read_ima_frameset(internal->rw, w, (Sint16*)out_buf+bw);
+
+ if (!rc)
+ {