OpenSSH 3.7 testing (Re: 3.6p1 bug on SCO OpenServer)

Darren Tucker dtucker at
Tue Sep 9 14:02:18 EST 2003

Wendy Palm wrote:
> i'm getting a fatal compiler error in do_upload() in sftp-client.c -
> CC-167 cc: WARNING File = sftp-client.c, Line = 1046
>    Argument of type "u_int64_t *" is incompatible with parameter of type "off_t *"
>            .
>                  start_progress_meter(local_path, sb.st_size, &offset);
> due to offset being defined as u_int64_t rather than off_t.
> off_t on the machines i checked is signed, and other calls to start_progress_meter in
> other functions seem to be correct.

I'm not sure that's the right solution, since offset is used for
populating the packet and is defined in the (expired)
draft-ietf-secsh-filexfer as uint64.

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list