diff --git a/examples/core/core_directory_files.c b/examples/core/core_directory_files.c index b0a204d37..922d47d5b 100644 --- a/examples/core/core_directory_files.c +++ b/examples/core/core_directory_files.c @@ -79,7 +79,7 @@ int main(void) GuiSetStyle(LISTVIEW, TEXT_ALIGNMENT, TEXT_ALIGN_LEFT); GuiSetStyle(LISTVIEW, TEXT_PADDING, 40); GuiListViewEx((Rectangle){ 0, 50, GetScreenWidth(), GetScreenHeight() - 50 }, - files.paths, files.count, &listScrollIndex, &listItemActive, &listItemFocused); + (const char**)files.paths, files.count, &listScrollIndex, &listItemActive, &listItemFocused); EndDrawing(); //----------------------------------------------------------------------------------