nuttx-apps/graphics/nxwidgets/src
Xiang Xiao 2385718f1c graphics/nxwidgets: Fix the compiler warning
src/cprogressbar.cxx: In member function 'virtual void NXWidgets::CProgressBar::drawContents(NXWidgets::CGraphicsPort*)':
Error: src/cprogressbar.cxx:185:22: error: '%d' directive writing between 1 and 8 bytes into a region of size 6 [-Werror=format-overflow=]
  185 |       sprintf(text, "%d%%", (100 * m_value) / (m_maximumValue - m_minimumValue));
      |                      ^~
src/cprogressbar.cxx:185:21: note: directive argument in the range [-3276800, 3276800]
  185 |       sprintf(text, "%d%%", (100 * m_value) / (m_maximumValue - m_minimumValue));
      |                     ^~~~~~
src/cprogressbar.cxx:185:14: note: 'sprintf' output between 3 and 10 bytes into a destination of size 6
  185 |       sprintf(text, "%d%%", (100 * m_value) / (m_maximumValue - m_minimumValue));
      |       ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-03-07 00:58:19 +08:00
..
cbgwindow.cxx Unify the void cast usage 2020-01-02 23:21:01 +08:00
cbitmap.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
cbutton.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
cbuttonarray.cxx Run codespell -w with the latest dictonary again 2020-02-23 07:10:14 -06:00
ccallback.cxx Run codespell -w with the latest dictonary again 2020-02-23 07:10:14 -06:00
ccheckbox.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
ccyclebutton.cxx Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
cglyphbutton.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
cglyphsliderhorizontal.cxx author: Ken Pettit: update licenses to Apache 2021-06-16 09:03:06 -05:00
cglyphsliderhorizontalgrip.cxx author: Ken Pettit: update licenses to Apache 2021-06-16 09:03:06 -05:00
cgraphicsport.cxx Typo fixes. 2022-01-06 10:30:41 +08:00
cimage.cxx graphics/nxwidgets/src/cimage.cxx: Fix a syslog format 2020-11-24 03:33:34 -08:00
ckeypad.cxx Run codespell -w against all files 2020-02-22 14:41:36 -06:00
clabel.cxx Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
clabelgrid.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
clatchbutton.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
clatchbuttonarray.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
clistbox.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
clistboxdataitem.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
clistdata.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
clistdataitem.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
cmultilinetextbox.cxx apps/graphics/nxwidgets: Fixes a few warnnigs. 2019-04-04 19:43:23 -06:00
cnumericedit.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
cnxfont.cxx Unify the void cast usage 2020-01-02 23:21:01 +08:00
cnxserver.cxx Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
cnxstring.cxx Fix minor typos in docs and comments. 2019-09-29 12:53:39 -06:00
cnxtimer.cxx Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
cnxtkwindow.cxx Unify the void cast usage 2020-01-02 23:21:01 +08:00
cnxtoolbar.cxx Unify the void cast usage 2020-01-02 23:21:01 +08:00
cnxwidget.cxx Run codespell -w with the latest dictonary again 2020-02-23 07:10:14 -06:00
cnxwindow.cxx Unify the void cast usage 2020-01-02 23:21:01 +08:00
cprogressbar.cxx graphics/nxwidgets: Fix the compiler warning 2022-03-07 00:58:19 +08:00
cradiobutton.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
cradiobuttongroup.cxx Typo fixes. 2022-01-06 10:30:41 +08:00
crect.cxx Run codespell -w with the latest dictonary again 2020-02-23 07:10:14 -06:00
crlepalettebitmap.cxx Run codespell -w against all files 2020-02-22 14:41:36 -06:00
cscaledbitmap.cxx include debug.h for xerr/xinfo/xwarn caller 2021-05-20 08:43:17 +01:00
cscrollbarhorizontal.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
cscrollbarpanel.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
cscrollbarvertical.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
cscrollinglistbox.cxx Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
cscrollingpanel.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
cscrollingtextbox.cxx graphics/nxwidgets: Fix type mismatches 2020-11-13 05:51:23 -08:00
csliderhorizontal.cxx Remove extra whitespace from files (#43) 2020-01-31 08:29:24 -06:00
csliderhorizontalgrip.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
cslidervertical.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
csliderverticalgrip.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
cstickybutton.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
cstickybuttonarray.cxx Run codespell -w with the latest dictonary again 2020-02-23 07:10:14 -06:00
cstickyimage.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
cstringiterator.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
ctabpanel.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
ctext.cxx Fix minor typos in docs and comments. 2019-09-29 12:53:39 -06:00
ctextbox.cxx apps/graphics/nxwidgets: Fixes a few warnnigs. 2019-04-04 19:43:23 -06:00
cwidgetcontrol.cxx include debug.h for xerr/xinfo/xwarn caller 2021-05-20 08:43:17 +01:00
cwidgeteventhandlerlist.cxx Squashed commit of the following: 2019-04-04 18:53:29 -06:00
cwindoweventhandlerlist.cxx Run codespell -w with the latest dictonary again 2020-02-23 07:10:14 -06:00
singletons.cxx Run codespell -w against all files 2020-02-22 14:41:36 -06:00