[Bug 842] type fixes for progressmeter

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sun Nov 6 19:22:37 EST 2005


http://bugzilla.mindrot.org/show_bug.cgi?id=842





------- Comment #3 from dtucker at zip.com.au  2005-11-06 19:22 -------
The error is:
sftp-client.c:1051: cannot cast 'unsigned long long *' to 'int *'

The line in question is:
start_progress_meter(local_path, sb.st_size, &offset);

"offset" is u_int64_t, the 3rd arg of start_progress_meter is off_t.

Since off_t is usually signed, it's also a potential signed/unsigned issue.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list