cryptlib.c: make even non-Windows builds "strtoull-agnostic".

This commit is contained in:
Andy Polyakov 2012-01-14 18:46:15 +00:00
parent adb5a2694a
commit 5d13669a2c

View File

@ -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
vec = strtoull(env+off,NULL,0);
if (!sscanf(env+off,"%lli",&vec)) vec = strtoul(env+off,NULL,0);
#endif
if (off) vec = OPENSSL_ia32_cpuid()&~vec;
}