Hi Fabian, On Mon, Aug 17, 2015 at 4:06 AM, Fabian Greffrath <fab...@greffrath.com> wrote: > Control: tags -1 + patch > > Am Montag, den 08.06.2015, 09:07 +0200 schrieb Fabian Greffrath: >> *((char *)buffer) = tmp; > > Correction: You'll also need to dereference the tmp pointer, i.e.: > > --- supertux-0.3.5a.orig/src/audio/wav_sound_file.cpp > +++ supertux-0.3.5a/src/audio/wav_sound_file.cpp > @@ -159,7 +159,7 @@ WavSoundFile::read(void* buffer, size_t > tmp[2*i+1] = c; > } > > - *buffer = tmp; > + *(char *)buffer = *tmp; > #endif > > return readsize; >
Thanks for the patch, and sorry for dropping the ball on this! I'll upload an updated package within the next hour. Regards, Vincent