mirror of
https://github.com/libssh2/libssh2.git
synced 2025-07-29 13:01:14 +03:00
Fix a couple of warnings of errors in MSVC builds
Two warnings (in tests & examples) in particular would cause problems: bad format causing invalid data output or a bad chdir due to out of scope buffer use.
This commit is contained in:
@ -37,7 +37,7 @@
|
||||
#include <ctype.h>
|
||||
|
||||
#ifdef WIN32
|
||||
#define __FILESIZE "I64"
|
||||
#define __FILESIZE "I64u"
|
||||
#else
|
||||
#define __FILESIZE "llu"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user