From 9a94f88885f0f46080f5ca1a1251e1c39b7ba286 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Thu, 21 Nov 2019 12:00:23 +0100 Subject: [PATCH] lv_font_fmt_txt: don't use bitfield for cmap to avoid bugs in Visual Studio --- src/lv_font/lv_font_fmt_txt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lv_font/lv_font_fmt_txt.h b/src/lv_font/lv_font_fmt_txt.h index 446a1067d..561f2f20f 100644 --- a/src/lv_font/lv_font_fmt_txt.h +++ b/src/lv_font/lv_font_fmt_txt.h @@ -113,7 +113,7 @@ typedef struct { uint16_t list_length; /** Type of this character map*/ - lv_font_fmt_txt_cmap_type_t type :2; + lv_font_fmt_txt_cmap_type_t type; }lv_font_fmt_txt_cmap_t; /** A simple mapping of kern values from pairs*/