mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
(gauge_callback): fix -Wconversion warnings.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
5007d309bc
commit
a613de7183
@ -80,8 +80,8 @@ gauge_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, void *d
|
||||
{
|
||||
int gauge_len;
|
||||
int percentage, columns;
|
||||
long total = g->max;
|
||||
long done = g->current;
|
||||
int total = g->max;
|
||||
int done = g->current;
|
||||
|
||||
if (total <= 0 || done < 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user