Avoid "initializer not constant" errors when compiling in pedantic mode.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 2 Apr 2008 11:15:05 +0000 (11:15 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 2 Apr 2008 11:15:05 +0000 (11:15 +0000)
ssl/kssl.c

index 106428273078b1f5e4513d2c50e21d500b09d318..6da75e64162995e60e95467b4ccad788e5e5e473 100644 (file)
@@ -2196,7 +2196,7 @@ krb5_error_code  kssl_build_principal_2(
 #else /* !OPENSSL_NO_KRB5 */
 
 #if defined(PEDANTIC) || defined(OPENSSL_SYS_VMS)
-static int dummy=(int)&dummy;
+static void *dummy=&dummy;
 #endif
 
 #endif /* !OPENSSL_NO_KRB5     */