cryptlib.c: make even non-Windows builds "strtoull-agnostic" [from HEAD].

This commit is contained in:
Andy Polyakov 2012-01-21 12:18:29 +00:00
parent a1e44cc14f
commit f02f7c2c4a

View file

@ -698,7 +698,7 @@ void OPENSSL_cpuid_setup(void)
#if defined(_WIN32)
if (!sscanf(env+off,"%I64i",&vec)) vec = strtoul(env+off,NULL,0);
#else
vec = strtoull(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;
}