Control: forwarded -1 https://github.com/gphoto/libgphoto2/issues/941 Control: tags -1 + fixed-upstream patch
On Tue, 29 Oct 2024 at 15:14:19 +0200, Adrian Bunk wrote: > ptp2/chdk.c: In function 'yuv_live_to_jpeg': > ptp2/chdk.c:1187:41: error: passing argument 3 of 'jpeg_mem_dest' from > incompatible pointer type [-Wincompatible-pointer-types] > 1187 | jpeg_mem_dest (&cinfo, &outbuf, &outlen); > | ^~~~~~~ > | | > | uint64_t * {aka long long > unsigned int *} > In file included from ptp2/chdk.c:32: > /usr/include/jpeglib.h:922:43: note: expected 'long unsigned int *' but > argument is of type 'uint64_t *' {aka 'long long unsigned int *'} > 922 | unsigned long *outsize); > | ~~~~~~~~~~~~~~~^~~~~~~ > make[4]: *** [Makefile:4257: ptp2/la-chdk.lo] Error 1 Ubuntu seem to have fixed this by applying https://github.com/gphoto/libgphoto2/commit/721f7f8c3ec8058d504607873e4c317aac0c99c5.patch from upstream. smcv