[Xcb] [PATCH 2/2] Fix strict-aliasing warning when getting generic event length.

Julien Danjou julien at danjou.info
Mon Mar 29 01:01:05 PDT 2010


Jamey Sharp <jamey at minilop.net> writes:

> xcb_ge_event_t has its length field in the same place that
> xcb_generic_reply_t does, so there's no need to cast the generic reply.
>
> Signed-off-by: Jamey Sharp <jamey at minilop.net>
> Cc: Peter Hutterer <peter.hutterer at who-t.net>

Reviewed-by: Julien Danjou <julien at danjou.info>

:)

-- 
Julien Danjou
// ᐰ <julien at danjou.info>   http://julien.danjou.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20100329/2e3c27a3/attachment.pgp>


More information about the Xcb mailing list