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:
Julien Danjou 2009-01-18 11:03:13 +01:00
parent 1d759531c4
commit 8f9cc9a262
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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);