From 2ce7c716c3c2e09f881d83b58bdc73cc163962cf Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sat, 14 Aug 2021 08:43:20 -0400 Subject: [PATCH] apps/open_plugins cast menu id to (void*) Change-Id: I14ece34e5ad0ffe00bbb4f7de37b1dadad3b92b4 --- apps/plugins/open_plugins.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/plugins/open_plugins.c b/apps/plugins/open_plugins.c index f9133f91bb..d479bbd31c 100644 --- a/apps/plugins/open_plugins.c +++ b/apps/plugins/open_plugins.c @@ -495,7 +495,7 @@ static const char* list_get_name_cb(int selected_item, void* data, char* buf, size_t buf_len) { /*TODO memoize names so we don't keep reading the disk when not necessary */ - if (data == &MENU_ID_MAIN) + if (data == (void*) &MENU_ID_MAIN) /* check address */ { if (op_entry_read_name(fd_dat, selected_item)) { @@ -549,7 +549,7 @@ static const char* list_get_name_cb(int selected_item, void* data, static int list_voice_cb(int list_index, void* data) { - if (data == &MENU_ID_MAIN) + if (data == (void*) &MENU_ID_MAIN) /* check address */ { if (op_entry_read_name(fd_dat, list_index)) {