1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-17 15:47:14 +02:00

Move away from C format to cpp::fmt.

This commit is contained in:
Sandu Liviu Catalin
2021-02-03 17:50:39 +02:00
parent 09a1767ffe
commit 0de21ae5a0
39 changed files with 215 additions and 215 deletions

View File

@ -1115,7 +1115,7 @@ SQFloat SqIToF(int64_t sigv, int64_t expv, int32_t padn, bool negf)
// Is the number of pad characters out of range?
if (static_cast< uint32_t >(padn) >= sizeof(padb))
{
STHROWF("Pad characters out of range: %d >= %d", padn, sizeof(padb));
STHROWF("Pad characters out of range: {} >= {}", padn, sizeof(padb));
}
// Write the padding characters
std::memset(padb, '0', padn);