Avoid warnings.
authorDr. Stephen Henson <steve@openssl.org>
Tue, 16 Mar 2004 13:50:18 +0000 (13:50 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 16 Mar 2004 13:50:18 +0000 (13:50 +0000)
apps/x509.c
ssl/kssl.c

index 58f89de58895bb72aa22e3157ec2c1b1d44734d3..9b95f7bd3fec470d0cd219d32a0f42f42f9b0a30 100644 (file)
@@ -1025,7 +1025,6 @@ end:
 static ASN1_INTEGER *x509_load_serial(char *CAfile, char *serialfile, int create)
        {
        char *buf = NULL, *p;
-       MS_STATIC char buf2[1024];
        ASN1_INTEGER *bs = NULL;
        BIGNUM *serial = NULL;
        size_t len;
index 7c45f8ff4e6d7e7f8615f6dfc000c43384394094..51378897f6e244ce20b282b7ed0ca4f6bae6222f 100644 (file)
@@ -953,7 +953,7 @@ print_krb5_authdata(char *label, krb5_authdata **adata)
                printf("%s, authdata==0\n", label);
                return;
                }
-       printf("%s [%p]\n", label, adata);
+       printf("%s [%p]\n", label, (void *)adata);
 #if 0
        {
         int    i;
@@ -1725,7 +1725,7 @@ kssl_ctx_show(KSSL_CTX *kssl_ctx)
                return;
                }
        else
-               printf("%p\n", kssl_ctx);
+               printf("%p\n", (void *)kssl_ctx);
 
        printf("\tservice:\t%s\n",
                 (kssl_ctx->service_name)? kssl_ctx->service_name: "NULL");