This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 1c6c2ad graphics/nxwm/src/chexcalculator.cxx: Fix typos
1c6c2ad is described below
commit 1c6c2ad6461705b484ae6900547f437416201ac5
Author: YAMAMOTO Takashi <[email protected]>
AuthorDate: Mon Nov 16 15:51:00 2020 +0900
graphics/nxwm/src/chexcalculator.cxx: Fix typos
Typos in the following change:
commit c48e65414b1fe1172029d6f041d615fa438cb320
Author: YAMAMOTO Takashi <[email protected]>
Date: Mon Nov 16 14:16:46 2020 +0900
graphics/nxwm/src/chexcalculator.cxx: Fix printf format warnings
---
graphics/nxwm/src/chexcalculator.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/graphics/nxwm/src/chexcalculator.cxx
b/graphics/nxwm/src/chexcalculator.cxx
index 4cf1fd4..7adb056 100644
--- a/graphics/nxwm/src/chexcalculator.cxx
+++ b/graphics/nxwm/src/chexcalculator.cxx
@@ -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