mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-18 20:18:21 +00:00
graphics/nxwm/src/chexcalculator.cxx: Fix printf format warnings
This commit is contained in:
parent
2a74046c2d
commit
c48e65414b
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue