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