diff options
author | plettix <plettix@gmail.com> | 2015-07-22 13:32:35 +0200 |
---|---|---|
committer | plettix <plettix@gmail.com> | 2015-07-22 13:32:35 +0200 |
commit | 684ebe02a202da178f8ae60e601f628ce801c9f9 (patch) | |
tree | 43d614e809255bd41c8fe38f2cee4497212a33c6 /common/md5.c | |
parent | fe7df89fb1777b4fd303d5a601541f6062caf8ea (diff) | |
download | libtdevnc-684ebe02a202da178f8ae60e601f628ce801c9f9.tar.gz libtdevnc-684ebe02a202da178f8ae60e601f628ce801c9f9.zip |
another shift fix
Diffstat (limited to 'common/md5.c')
-rw-r--r-- | common/md5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/md5.c b/common/md5.c index e185bc1..c3e3fd7 100644 --- a/common/md5.c +++ b/common/md5.c @@ -46,7 +46,7 @@ #ifdef WORDS_BIGENDIAN # define SWAP(n) \ - (((n) << 24) | (((n) & 0xff00) << 8) | (((n) >> 8) & 0xff00) | ((n) >> 24)) + ((((n) & 0x00ff) << 24) | (((n) & 0xff00) << 8) | (((n) >> 8) & 0xff00) | (((n) >> 24) & 0x00ff)) #else # define SWAP(n) (n) #endif |