From de54c5b749b3eefb75d420840c889533a58aa342 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 24 Jul 2013 14:25:51 +0200 Subject: 64-bit compilation now compiles and runs --- openssl/crypto/cryptlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openssl/crypto') diff --git a/openssl/crypto/cryptlib.c b/openssl/crypto/cryptlib.c index 304c6b706..da3949fa1 100644 --- a/openssl/crypto/cryptlib.c +++ b/openssl/crypto/cryptlib.c @@ -710,7 +710,7 @@ void OPENSSL_cpuid_setup(void) * was initialized already... This is to avoid interference * with cpuid snippets in ELF .init segment. */ - OPENSSL_ia32cap_P[0] = (unsigned int)vec|(1<<10); + OPENSSL_ia32cap_P[0] = (unsigned int)((vec|(1<<10))&0xffffffff); OPENSSL_ia32cap_P[1] = (unsigned int)(vec>>32); } #endif -- cgit v1.2.3