Build code with -Wcast-qual, -Wcast-align and -Wsign-compare.

--HG--
extra : convert_revision : d489ad995bb69850cba5a352f3ac85b74a54b5cf
This commit is contained in:
Juan RP 2009-04-11 15:52:32 +02:00
parent ae1fb7b50c
commit bd3484fa6b
9 changed files with 16 additions and 10 deletions

View file

@ -106,7 +106,7 @@ xbps_humanize_number(char *buf, size_t len, int64_t bytes,
if (scale & (HN_AUTOSCALE | HN_GETSCALE)) {
/* See if there is additional columns can be used. */
for (max = 100, i = len - baselen; i-- > 0;)
for (max = 100, i = (int)(len - baselen); i-- > 0;)
max *= 10;
/*