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
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to