mirror of
https://github.com/shadps4-emu/ext-fmt.git
synced 2024-12-11 12:04:10 +00:00
Fix Conversion Warning (#2782)
With -Wconversion and 32 Bit I get a warning here with unsigned long long converted to unsigned long.
This commit is contained in:
parent
1ba69fb5a1
commit
0742606f19
@ -1983,7 +1983,7 @@ inline auto write_significand(Char* out, UInt significand, int significand_size,
|
||||
int floating_size = significand_size - integral_size;
|
||||
for (int i = floating_size / 2; i > 0; --i) {
|
||||
out -= 2;
|
||||
copy2(out, digits2(significand % 100));
|
||||
copy2(out, digits2(static_cast<std::size_t>(significand % 100)));
|
||||
significand /= 100;
|
||||
}
|
||||
if (floating_size % 2 != 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user