Re: [spice-server 4/9] syntax-check: Remove unneeded cast of free() argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 27, 2016 at 04:20:11PM +0200, Pavel Grunt wrote:
> mjpeg-encoder.c: In function 'mjpeg_encoder_encode_frame':
> mjpeg-encoder.c:972:27: error: passing argument 1 of 'buffer-
> >base.free' from incompatible pointer type [-Werror=incompatible-
> pointer-types]
>          buffer->base.free(buffer);
> 
> Declaration of the free function is:
> static void mjpeg_video_buffer_free(VideoBuffer *video_buffer)

Err yeah, this is a false positive, I was not careful at all when making
this change, I'll just drop this patch.

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]