Fix strict-aliasing warning when getting generic event length.
authorJamey Sharp <jamey@minilop.net>
Sun, 28 Mar 2010 17:31:55 +0000 (10:31 -0700)
committerJamey Sharp <jamey@minilop.net>
Sun, 18 Apr 2010 01:20:41 +0000 (18:20 -0700)
commiteff3851ba80c42b5b3ba240f7e9049d7b0fac6f0
tree206327bc24c2c0f962f8e59a2f84205cf4aba945
parent6dd8228a137d280ce24cec604a419129d8ed0e8e
Fix strict-aliasing warning when getting generic event length.

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@minilop.net>
Cc: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Julien Danjou <julien@danjou.info>
src/xcb_in.c