summaryrefslogtreecommitdiff
path: root/setup_native
diff options
context:
space:
mode:
Diffstat (limited to 'setup_native')
-rw-r--r--setup_native/source/win32/wintools/makecab/parseddf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup_native/source/win32/wintools/makecab/parseddf.c b/setup_native/source/win32/wintools/makecab/parseddf.c
index 98dfaa1d9bcd..bde5be4a9a9f 100644
--- a/setup_native/source/win32/wintools/makecab/parseddf.c
+++ b/setup_native/source/win32/wintools/makecab/parseddf.c
@@ -47,8 +47,8 @@ void trim(char * str)
void ddfLogProgress(DDFLOGLEVEL lvl, char * desc, unsigned int progress)
{
if (DdfVerb < lvl) return;
- if (progress == 0) printf(" %s: %3d%%", desc, progress);
- else if (progress > 0 && progress < 100) printf("\r %s: %3d%%", desc, progress);
+ if (progress == 0) printf(" %s: %3u%%", desc, progress);
+ else if (progress > 0 && progress < 100) printf("\r %s: %3u%%", desc, progress);
else if (progress == 100) printf("\r %s: 100%%\n", desc);
fflush(stdout);
}