diff options
author | Christian Beier <dontmind@freeshell.org> | 2016-06-05 18:22:12 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2016-06-05 18:22:12 +0200 |
commit | c4721ae4934f5cbadcfaf7e304a200ae4d7166b2 (patch) | |
tree | 799e214cf03d19fd4e1194b1cc6e9a3d90fae9b8 | |
parent | 6f4f31fe93a790e0b310eddcad9e5fc4f3a4ccb2 (diff) | |
download | libtdevnc-c4721ae4934f5cbadcfaf7e304a200ae4d7166b2.tar.gz libtdevnc-c4721ae4934f5cbadcfaf7e304a200ae4d7166b2.zip |
Fix rfbClientSwap64IfLE broken in fe7df89fb1777b4fd303d5a601541f6062caf8ea
-rw-r--r-- | rfb/rfbclient.h | 2 |
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) | \ |