fix x64 windows warnings, make sure word is 64bit
This commit is contained in:
parent
dc83cc6a0e
commit
0e2c236e77
@ -82,7 +82,7 @@
|
||||
|
||||
/* These platforms have 64-bit CPU registers. */
|
||||
#if (defined(__alpha__) || defined(__ia64__) || defined(_ARCH_PPC64) || \
|
||||
defined(__mips64) || defined(__x86_64__))
|
||||
defined(__mips64) || defined(__x86_64__) || defined(_M_X64))
|
||||
typedef word64 word;
|
||||
#else
|
||||
typedef word32 word;
|
||||
|
@ -167,7 +167,7 @@ static int decode_url(const char* url, int urlSz,
|
||||
int CyaSSL_OCSP_set_override_url(CYASSL_OCSP* ocsp, const char* url)
|
||||
{
|
||||
if (ocsp != NULL) {
|
||||
int urlSz = strlen(url);
|
||||
int urlSz = (int)XSTRLEN(url);
|
||||
decode_url(url, urlSz,
|
||||
ocsp->overrideName, ocsp->overridePath, &ocsp->overridePort);
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user