diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index ec8abdce9a..2341b7b112 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -149,7 +149,7 @@ void OPENSSL_cpuid_setup(void) #if defined(_WIN32) if (!sscanf(env+off,"%I64i",&vec)) vec = strtoul(env+off,NULL,0); #else - if (!sscanf(env+off,"%lli",&vec)) vec = strtoul(env+off,NULL,0); + if (!sscanf(env+off,"%lli",(long long *)&vec)) vec = strtoul(env+off,NULL,0); #endif if (off) vec = OPENSSL_ia32_cpuid()&~vec; }