Remove the bitwise XOR operator from the Attributes class. Replace it with the equiva...
[oota-llvm.git] / include / llvm / Bitcode / BitstreamWriter.h
index 65933a28e43d3bb5b2c640e9fbfb8674b0472fec..dea118f98ed2f944323cf2a42332f032bffc34c3 100644 (file)
@@ -172,7 +172,7 @@ public:
     if ((uint32_t)Val == Val)
       return EmitVBR((uint32_t)Val, NumBits);
 
-    uint64_t Threshold = uint64_t(1U << (NumBits-1));
+    uint32_t Threshold = 1U << (NumBits-1);
 
     // Emit the bits with VBR encoding, NumBits-1 bits at a time.
     while (Val >= Threshold) {