Re: [AD] [WIN] some patches

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> committed

Thanks.
But two MSVC users just reported that wdsound.c doesn't compile any longer
because of a pointer problem. Could you add a cast to a char* line 1452 ?

/* and the rest of bytes we would need to fill in the buffer */
memcpy((char *)buf + input_wave_bytes_read, linear_input_ptr,
bytes_left_to_fill);

I thought that void pointer arithmetic was a branch of the standard
arithmetic but it seems I was totally wrong ;-)

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/