diff --git a/include/llvm/Bitcode/BitstreamReader.h b/include/llvm/Bitcode/BitstreamReader.h index 56a610883bc..dabee547327 100644 --- a/include/llvm/Bitcode/BitstreamReader.h +++ b/include/llvm/Bitcode/BitstreamReader.h @@ -334,7 +334,7 @@ public: // Skip over any bits that are already consumed. if (WordBitNo) { - if (sizeof(word_t) > 4) + if (sizeof(word_t) >= 4) Read64(WordBitNo); else Read(WordBitNo);