Portability updates.

committer: mfx <mfx> 1042738038 +0000
This commit is contained in:
Markus F.X.J. Oberhumer
2003-01-16 17:27:18 +00:00
parent e96ad21db1
commit a2e3ceb8c8
10 changed files with 146 additions and 49 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ static const char *mkline(unsigned long fu_len, unsigned long fc_len,
strcpy(r, "999.99%");
#endif
else
upx_snprintf(r, sizeof(r), "%3d.%02d%%", ratio / 10000, (ratio % 10000) / 100);
upx_snprintf(r, sizeof(r), "%3u.%02u%%", ratio / 10000, (ratio % 10000) / 100);
if (decompress)
f = "%10ld <-%10ld %7s %13s %s";
else