summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/saw/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/saw/main.c b/source/saw/main.c
index 1349eec..313d779 100644
--- a/source/saw/main.c
+++ b/source/saw/main.c
@@ -1422,13 +1422,13 @@ static void saw_init(void) {
// Load fonts
//
- saw_font_text = nvgCreateFontMem(saw_nvg, "", saw_ttf_text,
+ saw_font_text = nvgCreateFontMem(saw_nvg, "", (u8 *) saw_ttf_text,
SAW_TTF_TEXT_SIZE, 0);
if (saw_font_text == -1)
printf("nvgCreateFontMem failed.\n");
- saw_font_icons = nvgCreateFontMem(saw_nvg, "", saw_ttf_icons,
+ saw_font_icons = nvgCreateFontMem(saw_nvg, "", (u8 *) saw_ttf_icons,
SAW_TTF_ICONS_SIZE, 0);
if (saw_font_icons == -1)