[FFmpeg-devel] [PATCH]lavf/tcp: Fix type of argument optlen to getsockopt()

Michael Niedermayer michael at niedermayer.cc
Sat Nov 18 04:24:50 EET 2017


On Sun, Nov 12, 2017 at 03:29:21PM +0100, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes a warning on aix here.
> 
> Please comment, Carl Eugen

>  tcp.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> fa136707423e2f36ee2400c37c2d9fefb027fe80  0001-lavf-tcp-Fix-the-type-of-the-optlen-argument-to-gets.patch
> From cd61d9b7b52fd6c74cb19a8e9383b3a2056e67b2 Mon Sep 17 00:00:00 2001
> From: Carl Eugen Hoyos <ceffmpeg at gmail.com>
> Date: Sun, 12 Nov 2017 15:23:14 +0100
> Subject: [PATCH] lavf/tcp: Fix the type of the optlen argument to
>  getsockopt().
> 
> Fixes a warning on aix:
> libavformat/tcp.c:283:58: warning: passing argument 5 of 'getsockopt' from incompatible pointer type

should be ok if you checked the type in the specs

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20171118/0d11fba1/attachment.sig>


More information about the ffmpeg-devel mailing list