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; Cheers, Fabian
signature.asc
Description: This is a digitally signed message part