From 43ebd4450d7f7e425649d918cb0b4139b9428dda Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Mon, 5 Jan 2015 01:01:43 +0300 Subject: [PATCH] Fix 2 --- Utilities/Thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/Thread.cpp b/Utilities/Thread.cpp index a4378973e3..a565f03da0 100644 --- a/Utilities/Thread.cpp +++ b/Utilities/Thread.cpp @@ -277,7 +277,7 @@ void _se_translator(unsigned int u, EXCEPTION_POINTERS* pExp) #else -static const auto reg_table[16] = +static const typename decltype(REG_RIP) reg_table[16] = { REG_RAX, REG_RCX, REG_RDX, REG_RBX, REG_RSP, REG_RBP, REG_RSI, REG_RDI, REG_R8, REG_R9, REG_R10, REG_R11, REG_R12, REG_R13, REG_R14, REG_R15