The pcb-rnd package contains a call:
XRenderCreatePicture(display, lpm->img_scaled, XRenderFindVisualFormat(display, DefaultVisual(display, screen)), 0, 0);
The issue here is that lpm->img_scaled is an XImage *, but
XRenderCreatePicture expected a Drawable as its second argument.
Any idea how to turn an XImage into a Drawable?
Not sure how this currently works, but GCC 14 refuse to compile this, as
a C type error (using a pointer as an integer).
Thanks,
Florian