Skip to content

Commit

Permalink
graphics/nxwm/src/chexcalculator.cxx: Fix typos
Browse files Browse the repository at this point in the history
Typos in the following change:

    commit c48e654
    Author: YAMAMOTO Takashi <yamamoto@midokura.com>
    Date:   Mon Nov 16 14:16:46 2020 +0900

        graphics/nxwm/src/chexcalculator.cxx: Fix printf format warnings
  • Loading branch information
yamt authored and xiaoxiang781216 committed Nov 16, 2020
1 parent 2d4d8aa commit 1c6c2ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graphics/nxwm/src/chexcalculator.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c6c2ad

Please sign in to comment.