- Mike Protts filed the bug report #1908724 that identified and fixed a problem
with SFTP stat on files >4GB in size. Previously it used 32bit math only.
This commit is contained in:
parent
a55e6c10c9
commit
f56daac7fe
4
NEWS
4
NEWS
@ -1,5 +1,9 @@
|
||||
Version 0.19 ( )
|
||||
-------------------------------
|
||||
|
||||
- Mike Protts filed the bug report #1908724 that identified and fixed a problem
|
||||
with SFTP stat on files >4GB in size. Previously it used 32bit math only.
|
||||
|
||||
- Removed a stderr debug message that was accidentally left in (bug #1863153)
|
||||
|
||||
|
||||
|
@ -62,7 +62,7 @@ libssh2_ntohu64(const unsigned char *buf)
|
||||
msl = (buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3];
|
||||
lsl = (buf[4] << 24) | (buf[5] << 16) | (buf[6] << 8) | buf[7];
|
||||
|
||||
return ((msl * 65536) * 65536) + lsl;
|
||||
return ((libssh2_uint64_t)msl <<32) | lsl;
|
||||
}
|
||||
|
||||
/* }}} */
|
||||
|
Loading…
x
Reference in New Issue
Block a user