Make the NULL definition of OPENSSL_ia32cap_loc() compatible with the
authorRichard Levitte <levitte@openssl.org>
Wed, 29 Apr 2009 13:40:28 +0000 (13:40 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 29 Apr 2009 13:40:28 +0000 (13:40 +0000)
declaration in crypto.h.

crypto/cryptlib.c

index 520e42d..de8d4eb 100644 (file)
@@ -697,7 +697,7 @@ void OPENSSL_cpuid_setup(void)
 #endif
 
 #else
-unsigned long *OPENSSL_ia32cap_loc(void) { return NULL; }
+unsigned int *OPENSSL_ia32cap_loc(void) { return NULL; }
 #endif
 int OPENSSL_NONPIC_relocated = 0;
 #if !defined(OPENSSL_CPUID_SETUP) && !defined(OPENSSL_CPUID_OBJ)