Hi Vincent,

Am Donnerstag, den 04.06.2015, 00:40 -0700 schrieb Vincent Cheng: 
> /«PKGBUILDDIR»/src/audio/wav_sound_file.cpp:162:4: error: 'void*' is not a 
> pointer-to-object type
>    *buffer = tmp;
>     ^
> make[3]: *** [CMakeFiles/supertux2.dir/src/audio/wav_sound_file.cpp.o] Error 1
> 
> Any help (or better yet, patches) would be greatly appreciated!

in the WavSoundFile::read function, the "buffer" argument is a void
pointer, so de-referencing it is a bad idea. You might want to try
type-punning the pointer by e.g.

  *((char *)buffer) = tmp;

Hope that helps,

Fabian

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to