From 397d28da8f91cf83857afab397d5d23ec4c7f34f Mon Sep 17 00:00:00 2001 From: Roland Illig Date: Sun, 15 Aug 2004 23:09:36 +0000 Subject: [PATCH] Corrected data type in printf argument. --- src/widget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widget.c b/src/widget.c index 4fa9c8444..b3ee1135d 100644 --- a/src/widget.c +++ b/src/widget.c @@ -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; }