summaryrefslogtreecommitdiffstats
path: root/crypto/cryptlib.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-01-15 17:13:57 +0000
committerAndy Polyakov <appro@openssl.org>2012-01-15 17:13:57 +0000
commita985410d2df042e302ba210a5963d308aec46d35 (patch)
treee74cedca408123a79f79e73a8b85fa905a54bc9e /crypto/cryptlib.c
parent0ecedec82dd3fd44d54f3f7997fab91c079a32a7 (diff)
cryptlib.c: sscanf warning.
Diffstat (limited to 'crypto/cryptlib.c')
-rw-r--r--crypto/cryptlib.c2
1 files changed, 1 insertions, 1 deletions
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;
}