1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-10-31 23:30:25 +03:00

pass in unsigned ints for u32 values and not longs

This commit is contained in:
Daniel Stenberg
2009-03-19 12:54:58 +00:00
parent 468272d648
commit 26b65e06b1
2 changed files with 6 additions and 5 deletions

View File

@@ -1130,9 +1130,9 @@ _libssh2_debug(LIBSSH2_SESSION * session, int context, const char *format, ...)
void _libssh2_session_shutdown(LIBSSH2_SESSION * session);
unsigned long _libssh2_ntohu32(const unsigned char *buf);
unsigned int _libssh2_ntohu32(const unsigned char *buf);
libssh2_uint64_t _libssh2_ntohu64(const unsigned char *buf);
void _libssh2_htonu32(unsigned char *buf, unsigned long val);
void _libssh2_htonu32(unsigned char *buf, unsigned int val);
void _libssh2_htonu64(unsigned char *buf, libssh2_uint64_t val);
#ifdef WIN32