From 1195d0e08fb964bf5a7d87d8f00d287134c0d28f Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Thu, 17 Mar 2022 10:18:22 -0700 Subject: [PATCH] Cast fix --- IDEHelper/Compiler/CeDebugger.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/IDEHelper/Compiler/CeDebugger.cpp b/IDEHelper/Compiler/CeDebugger.cpp index eadbda65..fd754cc2 100644 --- a/IDEHelper/Compiler/CeDebugger.cpp +++ b/IDEHelper/Compiler/CeDebugger.cpp @@ -1526,7 +1526,7 @@ static String IntTypeToString(T val, const StringImpl& name, DwDisplayInfo* disp } else format = StrFormat("0o%%0%do\n%s", sizeof(val) * 2, name.c_str()); - return StrFormat(format.c_str(), (std::make_unsigned::type)(val)); + return StrFormat(format.c_str(), (typename std::make_unsigned::type)(val)); } if (intDisplayType == DwIntDisplayType_HexadecimalUpper) @@ -1538,7 +1538,7 @@ static String IntTypeToString(T val, const StringImpl& name, DwDisplayInfo* disp } else format = StrFormat("0x%%0%dX\n%s", sizeof(val) * 2, name.c_str()); - return StrFormat(format.c_str(), (std::make_unsigned::type)(val)); + return StrFormat(format.c_str(), (typename std::make_unsigned::type)(val)); } //TODO: Implement HexadecimalLower @@ -1551,7 +1551,7 @@ static String IntTypeToString(T val, const StringImpl& name, DwDisplayInfo* disp } else format = StrFormat("0x%%0%dX\n%s", sizeof(val) * 2, name.c_str()); - return StrFormat(format.c_str(), (std::make_unsigned::type)(val)); + return StrFormat(format.c_str(), (typename std::make_unsigned::type)(val)); } if (std::is_unsigned::value)