Add overload for unsigned long long so that x64 builds work

This commit is contained in:
Ion Gaztañaga
2021-12-30 12:33:22 +01:00
parent d691471816
commit 6b29fbf90d

View File

@@ -109,6 +109,14 @@ struct string_literals<char>
{
std::sprintf(buf, "%lu", number);
}
static void sprintf_number(char *buf, long long number)
{
std::sprintf(buf, "%lli", number);
}
static void sprintf_number(char *buf, unsigned long long number)
{
std::sprintf(buf, "%llu", number);
}
};
template<>