From 1bbd36156b75447667e20cdc0160640a3ecf8bf3 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 2 Aug 2002 22:06:04 +0000 Subject: [PATCH] Fix one real nasty bug git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3227 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/Interpreter/Execution.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp index 77d801129a4..f1e1d0c580e 100644 --- a/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/lib/ExecutionEngine/Interpreter/Execution.cpp @@ -1038,7 +1038,7 @@ static void executeCastInst(CastInst &I, ExecutionContext &SF) { IMPLEMENT_CAST_CASE(UByte , (unsigned char)); IMPLEMENT_CAST_CASE(SByte , ( signed char)); IMPLEMENT_CAST_CASE(UShort , (unsigned short)); - IMPLEMENT_CAST_CASE(Short , ( signed char)); + IMPLEMENT_CAST_CASE(Short , ( signed short)); IMPLEMENT_CAST_CASE(UInt , (unsigned int )); IMPLEMENT_CAST_CASE(Int , ( signed int )); IMPLEMENT_CAST_CASE(ULong , (uint64_t));