mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 21:06:52 +03:00
Corrected data type in printf argument.
This commit is contained in:
parent
a47ff4dece
commit
397d28da8f
@ -636,9 +636,9 @@ gauge_callback (WGauge *g, int msg, int parm)
|
||||
columns = (2 * (gauge_len - 7) * done / total + 1) / 2;
|
||||
addch ('[');
|
||||
attrset (GAUGE_COLOR);
|
||||
printw ("%*s", columns, "");
|
||||
printw ("%*s", (int) columns, "");
|
||||
attrset (NORMALC);
|
||||
printw ("%*s] %3d%%", gauge_len - 7 - columns, "", percentage);
|
||||
printw ("%*s] %3d%%", (int)(gauge_len - 7 - columns), "", (int) percentage);
|
||||
}
|
||||
return MSG_HANDLED;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user