mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-11-06 03:47:09 +01:00
Move away from C format to cpp::fmt.
This commit is contained in:
1 parent
09a1767ffe
commit
0de21ae5a0
39 files changed
+215
-215
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user