Change Index type from unsigned long to unsigned. This should fix PR14980.
authorJakub Staszak <kubastaszak@gmail.com>
Thu, 7 Mar 2013 20:21:27 +0000 (20:21 +0000)
committerJakub Staszak <kubastaszak@gmail.com>
Thu, 7 Mar 2013 20:21:27 +0000 (20:21 +0000)
llvm-svn: 176645

llvm/include/llvm/IR/Instructions.h

index 75696f7..57b0d89 100644 (file)
@@ -2658,7 +2658,7 @@ public:
   protected:
 
     SwitchInstTy *SI;
-    unsigned long Index;
+    unsigned Index;
     SubsetsItTy SubsetIt;
 
     /// Initializes case iterator for given SwitchInst and for given