summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-02-11 16:55:40 +0100
committerMitya Selivanov <automainint@guattari.tech>2024-02-11 16:55:40 +0100
commitadde339f3f750c0c19912d1893d51ec49cb8ee70 (patch)
tree858cd24516913739793239323d669c0af71a49f2
parent58797c3489e4a6ec4bb4dd6ba7ae34fa6fbe5f59 (diff)
downloadsaw-adde339f3f750c0c19912d1893d51ec49cb8ee70.zip
Fix type conversion
-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)