summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2016-06-05 16:22:12 (GMT)
committer Christian Beier <dontmind@freeshell.org>2016-06-05 16:22:12 (GMT)
commitc4721ae4934f5cbadcfaf7e304a200ae4d7166b2 (patch)
tree799e214cf03d19fd4e1194b1cc6e9a3d90fae9b8
parent6f4f31fe93a790e0b310eddcad9e5fc4f3a4ccb2 (diff)
downloadlibtdevnc-c4721ae4.zip
libtdevnc-c4721ae4.tar.gz
Fix rfbClientSwap64IfLE broken in fe7df89fb1777b4fd303d5a601541f6062caf8ea
-rw-r--r--rfb/rfbclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h
index 37c47e4..4f6f4f4 100644
--- a/rfb/rfbclient.h
+++ b/rfb/rfbclient.h
@@ -53,7 +53,7 @@
(((l) & 0x000000ff) << 24)) : (l))
#define rfbClientSwap64IfLE(l) \
- (*(char *)&client->endianTest ? ((((l) >> 56 ) & 0xff00000000000000ULL) | \
+ (*(char *)&client->endianTest ? ((((l) >> 56 ) & 0x00000000000000ffULL) | \
(((l) & 0x00ff000000000000ULL) >> 40) | \
(((l) & 0x0000ff0000000000ULL) >> 24) | \
(((l) & 0x000000ff00000000ULL) >> 8) | \