From 06d9ec846dc62c98eb0c0646d13d6dc4b14c31f8 Mon Sep 17 00:00:00 2001 From: Damjan Adamic Date: Thu, 12 May 2016 22:25:35 +0200 Subject: [PATCH] Re #3485: variable type fix --- radio/src/lua/api_lcd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/lua/api_lcd.cpp b/radio/src/lua/api_lcd.cpp index 58148fb64..0fcbe0431 100644 --- a/radio/src/lua/api_lcd.cpp +++ b/radio/src/lua/api_lcd.cpp @@ -380,7 +380,7 @@ static int luaLcdDrawRectangle(lua_State *L) int h = luaL_checkinteger(L, 4); unsigned int flags = luaL_optunsigned(L, 5, 0); #if defined(PCBHORUS) - int t = luaL_optunsigned(L, 6, 1); + unsigned int t = luaL_optunsigned(L, 6, 1); lcdDrawRect(x, y, w, h, t, 0xff, flags); #else lcdDrawRect(x, y, w, h, 0xff, flags);