1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-08 19:02:07 +03:00

libssh2_sftp.h: restore broken ABI

Commit 41fbd44 changed variable sizes/types in a public struct which
broke the ABI, which breaks applications!

This reverts that change.

Closes #339
This commit is contained in:
Daniel Stenberg
2019-03-23 23:31:44 +01:00
parent 452517d96c
commit e1ead35e47
2 changed files with 23 additions and 11 deletions

View File

@@ -97,12 +97,12 @@ struct _LIBSSH2_SFTP_ATTRIBUTES {
/* If flags & ATTR_* bit is set, then the value in this struct will be
* meaningful Otherwise it should be ignored
*/
uint32_t flags;
unsigned long flags;
libssh2_uint64_t filesize;
uint32_t uid, gid;
uint32_t permissions;
uint32_t atime, mtime;
unsigned long uid, gid;
unsigned long permissions;
unsigned long atime, mtime;
};
struct _LIBSSH2_SFTP_STATVFS {