aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJan Sjödin <jan_sjodin@yahoo.com>2012-03-21 20:00:30 +0000
committerJan Sjödin <jan_sjodin@yahoo.com>2012-03-21 20:00:30 +0000
commit9ca3b8984794cb62d4e3bd0ccc16d2404d85b96b (patch)
tree94f59ed6b5a00a1bf3dd2b97b9152f28c18e51a1 /include
parent0191bfcf7a5ae1ccfad7afe8ced59a14ffaca2a6 (diff)
downloadexternal_llvm-9ca3b8984794cb62d4e3bd0ccc16d2404d85b96b.zip
external_llvm-9ca3b8984794cb62d4e3bd0ccc16d2404d85b96b.tar.gz
external_llvm-9ca3b8984794cb62d4e3bd0ccc16d2404d85b96b.tar.bz2
Fix windows compilation warning. Patch by Micah.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153215 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Bitcode/BitstreamWriter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Bitcode/BitstreamWriter.h b/include/llvm/Bitcode/BitstreamWriter.h
index 42c68aa..475da13 100644
--- a/include/llvm/Bitcode/BitstreamWriter.h
+++ b/include/llvm/Bitcode/BitstreamWriter.h
@@ -501,7 +501,7 @@ public:
/// EnterBlockInfoBlock - Start emitting the BLOCKINFO_BLOCK.
void EnterBlockInfoBlock(unsigned CodeWidth) {
EnterSubblock(bitc::BLOCKINFO_BLOCK_ID, CodeWidth);
- BlockInfoCurBID = -1U;
+ BlockInfoCurBID = ~0U;
}
private:
/// SwitchToBlockID - If we aren't already talking about the specified block