diff options
author | Nate Straz <nstraz@redhat.com> | 2006-11-16 04:17:02 +0000 |
---|---|---|
committer | Nathan Straz <nstraz@redhat.com> | 2008-09-23 09:37:46 -0400 |
commit | 9fc82fc82e7248a598b8c8bedd86cecb3c10d1e9 (patch) | |
tree | 1234bdb063d6ae9feed841546cda5ed710409ec6 /qacp.c | |
parent | 5d90b7ceb5e0bd2fd41ded8ec706b04cacfc647c (diff) | |
download | qarsh-9fc82fc82e7248a598b8c8bedd86cecb3c10d1e9.tar.gz qarsh-9fc82fc82e7248a598b8c8bedd86cecb3c10d1e9.tar.xz qarsh-9fc82fc82e7248a598b8c8bedd86cecb3c10d1e9.zip |
Use off_t instead of size_t so we can transfer files larger than 2GB.
I changed all formats from %zd to %lld, but this adds a lot of warnings
because off_t isn't the same as long long int to the compiler. I don't
know if there is a way to avoid the warnings on all platforms.
Diffstat (limited to 'qacp.c')
-rw-r--r-- | qacp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -282,7 +282,7 @@ qacp_recvonefile(const char *host, const char *srcfile, const char *destfile) if (nleft != 0) { unlink(destfile); fprintf(stderr, "Short file transfer of %s, " - "%zd bytes lost, wanted %ld\n", srcfile, nleft, + "%lld bytes lost, wanted %lld\n", srcfile, nleft, rstatp->qp_st_size); } |