1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

declare lv_font_fmt_txt_cmap_type_t as uint8_t

it causes issue if the bitfield ar interpreted as signed
This commit is contained in:
Gabor Kiss-Vamosi 2019-07-10 14:51:59 +02:00
parent 2cead48cd5
commit 4a036d8c28

View File

@ -50,12 +50,14 @@ typedef struct
/** Format of font character map. */
typedef enum {
enum {
LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY,
LV_FONT_FMT_TXT_CMAP_FORMAT0_FULL,
LV_FONT_FMT_TXT_CMAP_SPARSE_TINY,
LV_FONT_FMT_TXT_CMAP_SPARSE_FULL,
}lv_font_fmt_txt_cmap_type_t;
};
typedef uint8_t lv_font_fmt_txt_cmap_type_t;
/* Map codepoints to a `glyph_dsc`s