diff options
Diffstat (limited to 'nuttx/graphics/nxfonts/nxfonts_getfont.c')
-rw-r--r-- | nuttx/graphics/nxfonts/nxfonts_getfont.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nuttx/graphics/nxfonts/nxfonts_getfont.c b/nuttx/graphics/nxfonts/nxfonts_getfont.c index 9fcc57155..3c53cae7f 100644 --- a/nuttx/graphics/nxfonts/nxfonts_getfont.c +++ b/nuttx/graphics/nxfonts/nxfonts_getfont.c @@ -40,6 +40,7 @@ #include <nuttx/config.h> #include <stdint.h> +#include <stddef.h> #include <debug.h> #include <nuttx/nxfonts.h> @@ -136,8 +137,8 @@ FAR const struct nx_font_s *nxf_getfontset(void) FAR const struct nx_fontbitmap_s *nxf_getbitmap(uint16_t ch) { - FAR const struct nx_fontset_s *set = nxf_getglyphset(ch); - FAR struct nx_fontbitmap_s *bm = NULL; + FAR const struct nx_fontset_s *set = nxf_getglyphset(ch); + FAR const struct nx_fontbitmap_s *bm = NULL; if (set) { |