Re: [libav-devel] [PATCH] swscale-test: const correctness for pointer variable

2017-01-24 Thread Vittorio Giovara
On Tue, Jan 24, 2017 at 11:33 AM, Diego Biurrun wrote: > On Thu, Jan 19, 2017 at 12:02:43PM +0100, Diego Biurrun wrote: >> libswscale/swscale-test.c:369:20: warning: passing argument 2 of ‘sws_scale’ >> from incompatible pointer type [-Wincompatible-pointer-types] >> libswscale/swscale.h:207:5: n

Re: [libav-devel] [PATCH] swscale-test: const correctness for pointer variable

2017-01-24 Thread Diego Biurrun
On Thu, Jan 19, 2017 at 12:02:43PM +0100, Diego Biurrun wrote: > libswscale/swscale-test.c:369:20: warning: passing argument 2 of ‘sws_scale’ > from incompatible pointer type [-Wincompatible-pointer-types] > libswscale/swscale.h:207:5: note: expected ‘const uint8_t * const* {aka const > unsigned

[libav-devel] [PATCH] swscale-test: const correctness for pointer variable

2017-01-19 Thread Diego Biurrun
libswscale/swscale-test.c:369:20: warning: passing argument 2 of ‘sws_scale’ from incompatible pointer type [-Wincompatible-pointer-types] libswscale/swscale.h:207:5: note: expected ‘const uint8_t * const* {aka const unsigned char * const*}’ but argument is of type ‘uint8_t ** {aka unsigned char