From a985410d2df042e302ba210a5963d308aec46d35 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 15 Jan 2012 17:13:57 +0000 Subject: [PATCH] cryptlib.c: sscanf warning. --- crypto/cryptlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.25.1