diff options
Diffstat (limited to 'lib/Support/Hashing.cpp')
-rw-r--r-- | lib/Support/Hashing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Hashing.cpp b/lib/Support/Hashing.cpp index 89b8453..21fcdd7 100644 --- a/lib/Support/Hashing.cpp +++ b/lib/Support/Hashing.cpp @@ -14,7 +14,7 @@ namespace llvm { // Add a possibly unaligned sequence of bytes. void GeneralHash::addUnaligned(const uint8_t *I, const uint8_t *E) { ptrdiff_t Length = E - I; - if (uintptr_t(I) & 3 == 0) { + if ((uintptr_t(I) & 3) == 0) { while (Length > 3) { mix(*reinterpret_cast<const uint32_t *>(I)); I += 4; |