From d62f609790d602643d6c2f6ebd1ed1453c7fae14 Mon Sep 17 00:00:00 2001 From: Jakub Staszak Date: Thu, 7 Mar 2013 20:21:27 +0000 Subject: [PATCH] Change Index type from unsigned long to unsigned. This should fix PR14980. llvm-svn: 176645 --- include/llvm/IR/Instructions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/IR/Instructions.h b/include/llvm/IR/Instructions.h index 75696f7ab09..57b0d89276e 100644 --- a/include/llvm/IR/Instructions.h +++ b/include/llvm/IR/Instructions.h @@ -2658,7 +2658,7 @@ public: protected: SwitchInstTy *SI; - unsigned long Index; + unsigned Index; SubsetsItTy SubsetIt; /// Initializes case iterator for given SwitchInst and for given