1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-20 02:42:09 +03:00

Fix error compiling on Win32 with STDCALL=ON (#275)

This commit is contained in:
alex-weaver
2018-11-30 19:34:20 +00:00
committed by Will Cosgrove
parent cf13c9925c
commit 31aea1ec68

View File

@@ -687,7 +687,11 @@ void _libssh2_aes_ctr_increment(unsigned char *ctr,
}
}
#ifdef WIN32
static void * (__cdecl * const volatile memset_libssh)(void *, int, size_t) = memset;
#else
static void * (* const volatile memset_libssh)(void *, int, size_t) = memset;
#endif
void _libssh2_explicit_zero(void *buf, size_t size)
{