summaryrefslogtreecommitdiff
path: root/sftp-client.c
diff options
context:
space:
mode:
authormouring <mouring>2001-02-25 02:02:43 +0000
committermouring <mouring>2001-02-25 02:02:43 +0000
commite97f5bfdbefd78d85c6b25f0d905ba4341138cb6 (patch)
treeaa80a4ce95bfe5cae6647f2c1877d203be7d6bc8 /sftp-client.c
parent03defa8dbb87c46640107c1f4d1987c8a52df8d8 (diff)
downloadopenssh-e97f5bfdbefd78d85c6b25f0d905ba4341138cb6.tar.gz
- (bal) Replace 'unsigned long long' to 'u_int64_t' since not every
platform defines u_int64_t as being that.
Diffstat (limited to 'sftp-client.c')
-rw-r--r--sftp-client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sftp-client.c b/sftp-client.c
index 7c234ce2..5242cab0 100644
--- a/sftp-client.c
+++ b/sftp-client.c
@@ -613,7 +613,7 @@ do_download(int fd_in, int fd_out, char *remote_path, char *local_path,
buffer_put_int(&msg, COPY_SIZE);
send_msg(fd_out, &msg);
debug3("Sent message SSH2_FXP_READ I:%d O:%llu S:%u",
- id, (unsigned long long)offset, COPY_SIZE);
+ id, (u_int64_t)offset, COPY_SIZE);
buffer_clear(&msg);
@@ -646,7 +646,7 @@ do_download(int fd_in, int fd_out, char *remote_path, char *local_path,
len, COPY_SIZE);
debug3("In read loop, got %d offset %llu", len,
- (unsigned long long)offset);
+ (u_int64_t)offset);
if (atomicio(write, local_fd, data, len) != len) {
error("Couldn't write to \"%s\": %s", local_path,
strerror(errno));
@@ -767,7 +767,7 @@ do_upload(int fd_in, int fd_out, char *local_path, char *remote_path,
buffer_put_string(&msg, data, len);
send_msg(fd_out, &msg);
debug3("Sent message SSH2_FXP_WRITE I:%d O:%llu S:%u",
- id, (unsigned long long)offset, len);
+ id, (u_int64_t)offset, len);
status = get_status(fd_in, id);
if (status != SSH2_FX_OK) {
@@ -778,7 +778,7 @@ do_upload(int fd_in, int fd_out, char *local_path, char *remote_path,
goto done;
}
debug3("In write loop, got %d offset %llu", len,
- (unsigned long long)offset);
+ (u_int64_t)offset);
offset += len;
}