Hi

On Tue, Feb 14, 2012 at 9:41 AM, Alon Levy <al...@redhat.com> wrote:
> On Mon, Feb 13, 2012 at 01:53:32PM -0600, Dan McGee wrote:
>> Some non-Linux platforms return a (caddr_t *) result for the return
>> value of mmap(), which is very unfortunate. Add a (void *) cast to
>> explicitly avoid the warning when compiling with -Werror.
>>
>> For the IO vector related stuff, signed vs. unsigned comes into play so
>> adding a (void *) cast here is technically correct for all platforms.
>>
>
> ACK. I'll push.

Unfortunately, this also causes a warning:

marshaller.c:528:50: error: pointer of type 'void *' used in
arithmetic [-Werror=pointer-arith]

casting to uint8_t* instead?

-- 
Marc-André Lureau
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to