Fix PEDANTIC compilation, using the same trick as elsewhere.
authorGeoff Thorpe <geoff@openssl.org>
Tue, 26 Jul 2005 04:05:03 +0000 (04:05 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Tue, 26 Jul 2005 04:05:03 +0000 (04:05 +0000)
ssl/kssl.c

index 553ec186cb220db8fbc8886a93354c5a28aada0d..394ef61769618c44e908937033155b0f80c277bf 100644 (file)
@@ -2177,7 +2177,7 @@ krb5_error_code  kssl_build_principal_2(
 #else /* !OPENSSL_NO_KRB5 */
 
 #if defined(PEDANTIC) || defined(OPENSSL_SYS_VMS)
 #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     */
 #endif
 
 #endif /* !OPENSSL_NO_KRB5     */