From 89ae74fba602f44e9ac85cd2c1bd8a9e7bb58ed6 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Tue, 24 Sep 2019 11:38:29 +0200 Subject: [PATCH] (MaterialUI) Fix handle float cast overflow --- menu/drivers/materialui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/drivers/materialui.c b/menu/drivers/materialui.c index b7a8f8affe..1c6819c746 100644 --- a/menu/drivers/materialui.c +++ b/menu/drivers/materialui.c @@ -686,7 +686,7 @@ static void materialui_render(void *data, unsigned width, unsigned height, bool is_idle) { - unsigned bottom, header_height; + int bottom, header_height; menu_input_pointer_t pointer; size_t i = 0; materialui_handle_t *mui = (materialui_handle_t*)data;