diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-02-25 03:02:43 +0100 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-02-25 03:02:43 +0100 |
commit | 416d87409493f6d2367db40a04c19c950f271613 (patch) | |
tree | 201503d53bbb58efea7a19b39ffaa35a926a5d3d /sftp-server.c | |
parent | - (djm) Use %{_libexecdir} rather than hardcoded path in RPM specfile (diff) | |
download | openssh-416d87409493f6d2367db40a04c19c950f271613.tar.xz openssh-416d87409493f6d2367db40a04c19c950f271613.zip |
- (bal) Replace 'unsigned long long' to 'u_int64_t' since not every
platform defines u_int64_t as being that.
Diffstat (limited to 'sftp-server.c')
-rw-r--r-- | sftp-server.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sftp-server.c b/sftp-server.c index 0291da206..e959a5515 100644 --- a/sftp-server.c +++ b/sftp-server.c @@ -402,7 +402,7 @@ process_read(void) len = get_int(); TRACE("read id %d handle %d off %llu len %d", id, handle, - (unsigned long long)off, len); + (u_int64_t)off, len); if (len > sizeof buf) { len = sizeof buf; log("read change len %d", len); @@ -443,7 +443,7 @@ process_write(void) data = get_string(&len); TRACE("write id %d handle %d off %llu len %d", id, handle, - (unsigned long long)off, len); + (u_int64_t)off, len); fd = handle_to_fd(handle); if (fd >= 0) { if (lseek(fd, off, SEEK_SET) < 0) { @@ -685,7 +685,7 @@ ls_file(char *name, struct stat *st) if (sz == 0) tbuf[0] = '\0'; snprintf(buf, sizeof buf, "%s %3d %-8.8s %-8.8s %8llu %s %s", mode, - st->st_nlink, user, group, (unsigned long long)st->st_size, tbuf, name); + st->st_nlink, user, group, (u_int64_t)st->st_size, tbuf, name); return xstrdup(buf); } |