widgets: use integer instead of int8_t
The computer is smart, and the compiler also. Should fix: widgets/progressbar.c:451: warning: array subscript has type `char' Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
1d759531c4
commit
8f9cc9a262
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue