From 56a7ded061e0658067be69ede4ef5f3533180768 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 22 Nov 2017 09:03:44 -0600 Subject: [PATCH] apps/graphics/pdcurses: Fix type used in last commit. --- graphics/pdcurs34/nuttx/pdcscrn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/pdcurs34/nuttx/pdcscrn.c b/graphics/pdcurs34/nuttx/pdcscrn.c index 4c8a38634..7568dd08d 100644 --- a/graphics/pdcurs34/nuttx/pdcscrn.c +++ b/graphics/pdcurs34/nuttx/pdcscrn.c @@ -495,7 +495,7 @@ int PDC_color_content(short color, short *red, short *green, short *blue) FAR struct pdc_fbscreen_s *fbscreen = (FAR struct pdc_fbscreen_s *)SP; FAR struct pdc_fbstate_s *fbstate; #ifdef PDCURSES_MONOCHROME - uint8_t greylevel; + short greylevel; #endif PDC_LOG(("PDC_init_color(). color=%d\n", color));