summaryrefslogtreecommitdiffstats
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
commit1b12e5ea361b7b60617294b1ebaf4a5f2de4dd04 (patch)
treea915038814652ec5a6fb74a9e69691921fed7c89
parent6a2eee0cfbf143ba76be4fbfd9ff774ffe8bbfd1 (diff)
downloadbcm5719-llvm-1b12e5ea361b7b60617294b1ebaf4a5f2de4dd04.tar.gz
bcm5719-llvm-1b12e5ea361b7b60617294b1ebaf4a5f2de4dd04.zip
Fix windows compilation warning. Patch by Micah.
llvm-svn: 153215
-rw-r--r--llvm/include/llvm/Bitcode/BitstreamWriter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Bitcode/BitstreamWriter.h b/llvm/include/llvm/Bitcode/BitstreamWriter.h
index 42c68aac7d7..475da133f8a 100644
--- a/llvm/include/llvm/Bitcode/BitstreamWriter.h
+++ b/llvm/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
OpenPOWER on IntegriCloud