XQuartz: appledri: Fix byte swapping in replies
authorJeremy Huddleston <jeremyhu@apple.com>
Fri, 21 Oct 2011 05:34:44 +0000 (22:34 -0700)
committerJeremy Huddleston <jeremyhu@apple.com>
Fri, 21 Oct 2011 17:29:56 +0000 (10:29 -0700)
commit14205ade0c750191bf43fba8bd55c65dba912cf4
tree08c1c4b606bc47a5afe3e70fc59391acea6d26b1
parent2ba0ac202ad64eb4a555715980ba538de19c9fd7
XQuartz: appledri: Fix byte swapping in replies

Even though it's only valid when local, it is possible for a local
client and the server to not match endianness, such as when running
a ppc application under Rosetta.

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
hw/xquartz/xpr/appledri.c