mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-21 14:00:51 +03:00
data types: convert more to use size_t and uint32_t
This commit is contained in:
@@ -92,7 +92,7 @@ static int sftp_close_handle(LIBSSH2_SFTP_HANDLE *handle);
|
||||
*/
|
||||
static void _libssh2_store_u64(unsigned char **ptr, libssh2_uint64_t value)
|
||||
{
|
||||
unsigned long msl = (unsigned long)(value >> 32);
|
||||
uint32_t msl = (uint32_t)(value >> 32);
|
||||
unsigned char *buf = *ptr;
|
||||
|
||||
buf[0] = (unsigned char)((msl >> 24) & 0xFF);
|
||||
|
||||
Reference in New Issue
Block a user