1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00
This commit is contained in:
Brian Fiete 2022-03-17 10:18:22 -07:00
parent 2a60c51fbd
commit 1195d0e08f

View file

@ -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<T>::type)(val));
return StrFormat(format.c_str(), (typename std::make_unsigned<T>::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<T>::type)(val));
return StrFormat(format.c_str(), (typename std::make_unsigned<T>::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<T>::type)(val));
return StrFormat(format.c_str(), (typename std::make_unsigned<T>::type)(val));
}
if (std::is_unsigned<T>::value)