diff options
author | portix <portix@gmx.net> | 2013-05-20 16:14:41 +0200 |
---|---|---|
committer | portix <portix@gmx.net> | 2013-05-20 16:14:41 +0200 |
commit | a4506493a725923ae05dd43e0d9b438b495b36a6 (patch) | |
tree | 58e601aef23f79d9e36827ea70a0a036ca4705f1 | |
parent | aa1fb093dad88ef2e56bad3a19a27015b5ac59fc (diff) | |
download | dwb-a4506493a725923ae05dd43e0d9b438b495b36a6.zip |
Fixing format conversions
-rw-r--r-- | exar/exar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/exar/exar.c b/exar/exar.c index a222377e..fad142ef 100644 --- a/exar/exar.c +++ b/exar/exar.c @@ -359,7 +359,7 @@ ftw_pack(const char *fpath, const struct stat *st, int tf) if (f != NULL) { - LOG(2, "Writing %s (%zu bytes)\n", stripped, (st->st_size)); + LOG(2, "Writing %s (%jd bytes)\n", stripped, (intmax_t)(st->st_size)); while ((r = fread(rbuf, 1, sizeof(rbuf), f)) > 0) { if (fwrite(rbuf, 1, r, s_out) != r) @@ -560,7 +560,7 @@ exar_delete(const char *archive, const char *file) write_file_header(ftmp, header.eh_name, header.eh_flag, header.eh_size); if (header.eh_flag == FILE_FLAG) { - LOG(2, "Copying %s (%zu bytes)\n", header.eh_name, header.eh_size); + LOG(2, "Copying %s (%jd bytes)\n", header.eh_name, (intmax_t)header.eh_size); for (off_t s=0; s<header.eh_size; s++) { if (fread(&rbuf, 1, 1, f) != 1 || fwrite(&rbuf, 1, 1, ftmp) != 1) |