Fix a format mismatch (%d integer format, platform-dependent

argument type).
This commit is contained in:
Tim Kientzle 2006-03-07 06:02:09 +00:00
parent 99122c96a3
commit bce43ea96d

View file

@ -279,7 +279,7 @@ list_item_verbose(struct bsdtar *bsdtar, FILE *out, struct archive_entry *entry)
if (!now)
time(&now);
bsdtar_strmode(entry, tmp);
fprintf(out, "%s %d ", tmp, st->st_nlink);
fprintf(out, "%s %d ", tmp, (int)(st->st_nlink));
/* Use uname if it's present, else uid. */
p = archive_entry_uname(entry);