diff --git a/widgets/graph.c b/widgets/graph.c index 52c657a3f..a8e0505e3 100644 --- a/widgets/graph.c +++ b/widgets/graph.c @@ -307,7 +307,7 @@ luaA_graph_plot_properties_set(lua_State *L) size_t len; plot_t *plot = NULL; xcolor_init_request_t reqs[3]; - int8_t i, reqs_nbr = -1; + int i, reqs_nbr = -1; title = luaL_checkstring(L, 2); luaA_checktable(L, 3); diff --git a/widgets/progressbar.c b/widgets/progressbar.c index 271e28114..e22e30c2e 100644 --- a/widgets/progressbar.c +++ b/widgets/progressbar.c @@ -441,7 +441,7 @@ luaA_progressbar_bar_properties_set(lua_State *L) bar_t *bar; progressbar_data_t *d = (*widget)->data; xcolor_init_request_t reqs[6]; - int8_t i, reqs_nbr = -1; + int i, reqs_nbr = -1; luaA_checktable(L, 3);