graphics/nxwm/src/chexcalculator.cxx: Fix printf format warnings
This commit is contained in:
parent
2a74046c2d
commit
c48e65414b
@ -673,11 +673,11 @@ void CHexCalculator::updateText(void)
|
||||
|
||||
if (m_hexMode)
|
||||
{
|
||||
std::snprintf(buffer, 24, "%16llX", m_accum);
|
||||
std::snprintf(buffer, 24, "%16" PRI64X, m_accum);
|
||||
}
|
||||
else
|
||||
{
|
||||
std::snprintf(buffer, 24, "%lld", m_accum);
|
||||
std::snprintf(buffer, 24, "%" PRI64d, m_accum);
|
||||
}
|
||||
|
||||
// setText will perform the redraw as well
|
||||
|
Loading…
Reference in New Issue
Block a user