From 3edad44d6e28f9bd85d0ee22e29418b995045c36 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 2 Apr 2008 11:15:05 +0000 Subject: [PATCH] Avoid "initializer not constant" errors when compiling in pedantic mode. --- ssl/kssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/kssl.c b/ssl/kssl.c index 1064282730..6da75e6416 100644 --- a/ssl/kssl.c +++ b/ssl/kssl.c @@ -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 */ -- 2.25.1