mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-03 20:27:58 +00:00
graphics/nxwm/src/chexcalculator.cxx: Fix typos
Typos in the following change:
commit c48e65414b
Author: YAMAMOTO Takashi <yamamoto@midokura.com>
Date: Mon Nov 16 14:16:46 2020 +0900
graphics/nxwm/src/chexcalculator.cxx: Fix printf format warnings
This commit is contained in:
parent
2d4d8aa643
commit
1c6c2ad646
1 changed files with 2 additions and 2 deletions
|
|
@ -673,11 +673,11 @@ void CHexCalculator::updateText(void)
|
|||
|
||||
if (m_hexMode)
|
||||
{
|
||||
std::snprintf(buffer, 24, "%16" PRI64X, m_accum);
|
||||
std::snprintf(buffer, 24, "%16" PRIX64, m_accum);
|
||||
}
|
||||
else
|
||||
{
|
||||
std::snprintf(buffer, 24, "%" PRI64d, m_accum);
|
||||
std::snprintf(buffer, 24, "%" PRId64, m_accum);
|
||||
}
|
||||
|
||||
// setText will perform the redraw as well
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue