# # # patch "botan/bit_ops.cpp" # from [ebab53284a6ab9a749188fcbe417c8dcc73ac052] # to [3bb7a0fd68305ca2ff7a071798aa4419f783cf02] # ============================================================ --- botan/bit_ops.cpp ebab53284a6ab9a749188fcbe417c8dcc73ac052 +++ botan/bit_ops.cpp 3bb7a0fd68305ca2ff7a071798aa4419f783cf02 @@ -64,10 +64,10 @@ u64bit reverse_bytes(u64bit input) *************************************************/ u64bit reverse_bytes(u64bit input) { - input = ((input & 0xFF00FF00FF00FF00) >> 8) | - ((input & 0x00FF00FF00FF00FF) << 8); - input = ((input & 0xFFFF0000FFFF0000) >> 16) | - ((input & 0x0000FFFF0000FFFF) << 16); + input = ((input & 0xFF00FF00FF00FF00ull) >> 8) | + ((input & 0x00FF00FF00FF00FFull) << 8); + input = ((input & 0xFFFF0000FFFF0000ull) >> 16) | + ((input & 0x0000FFFF0000FFFFull) << 16); return rotate_left(input, 32); }