From c661d61d82b2b512ad9670b248bbacb4eda5d293 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 14 Feb 2007 07:34:56 +0000 Subject: [PATCH] fix a warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34272 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 0192c287cd1..909dc68f083 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -1253,7 +1253,7 @@ void SelectionDAGLowering::visitSwitch(SwitchInst &I) { // a case statement, push the case's BB onto the vector, otherwise, push // the default BB. std::vector DestBBs; - uint64_t TEI = First; + int64_t TEI = First; for (CaseItr ii = Cases.begin(), ee = Cases.end(); ii != ee; ++TEI) if (cast(ii->first)->getSExtValue() == TEI) { DestBBs.push_back(ii->second); -- 2.34.1