From a18da8558f436cdb8a6dc56fec9ea06488456477 Mon Sep 17 00:00:00 2001 From: Peter Valchev Date: Thu, 1 May 2003 23:55:03 +0000 Subject: don't cast pointer to integer, use intptr_t stuff off inttypes.h instead ok millert --- lib/libssl/src/ssl/ssltest.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/libssl/src/ssl/ssltest.c b/lib/libssl/src/ssl/ssltest.c index 4f6379e1602..342c59e6590 100644 --- a/lib/libssl/src/ssl/ssltest.c +++ b/lib/libssl/src/ssl/ssltest.c @@ -122,6 +122,7 @@ #include #include #include +#include #include "e_os.h" @@ -1474,8 +1475,8 @@ static int MS_CALLBACK app_verify_callback(X509_STORE_CTX *ctx, void *arg) fprintf(stderr, "In app_verify_callback, allowing cert. "); fprintf(stderr, "Arg is: %s\n", (char *)arg); - fprintf(stderr, "Finished printing do we have a context? 0x%x a cert? 0x%x\n", - (unsigned int)ctx, (unsigned int)ctx->cert); + fprintf(stderr, "Finished printing do we have a context? 0x%lx a cert? 0x%lx\n", + (uintptr_t)ctx, (uintptr_t)ctx->cert); if (ctx->cert) s=X509_NAME_oneline(X509_get_subject_name(ctx->cert),buf,256); if (s != NULL) -- cgit v1.2.3