[Xcb] Endianness question
Ulrich Eckhardt
doomster at knuut.de
Sun Nov 30 23:10:10 PST 2008
On Sunday 30 November 2008 13:22:17 Julien Danjou wrote:
> I'm facing a bug in xcb-util, which is very probably caused by an
> endianness issue.
> For people following at home, the problem is in xcb-icccm, function
> xcb_get_wm_hints_from_reply().
>
> The result of xcb_get_property_value() is memcpy()'ed to a struct,
> directly. The problem is, I think, that if this work well on x86 (little
> endian), it totally fails on ppc (big endian) for example.
Just give me some example code and I will try. ;)
Uli
More information about the Xcb
mailing list