From fadd2246a030154efc8f47c98606bcd30ecb64b5 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 11 Jun 2003 22:26:02 +0000 Subject: [PATCH] Avoid warnings saying that the format takes a void*. --- apps/s_cb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/s_cb.c b/apps/s_cb.c index 1410178d65..28f8acc1e3 100644 --- a/apps/s_cb.c +++ b/apps/s_cb.c @@ -240,14 +240,14 @@ long MS_CALLBACK bio_dump_cb(BIO *bio, int cmd, const char *argp, int argi, if (cmd == (BIO_CB_READ|BIO_CB_RETURN)) { BIO_printf(out,"read from %p [%p] (%d bytes => %ld (0x%lX))\n", - bio,argp,argi,ret,ret); + (void *)bio,argp,argi,ret,ret); BIO_dump(out,argp,(int)ret); return(ret); } else if (cmd == (BIO_CB_WRITE|BIO_CB_RETURN)) { BIO_printf(out,"write to %p [%p] (%d bytes => %ld (0x%lX))\n", - bio,argp,argi,ret,ret); + (void *)bio,argp,argi,ret,ret); BIO_dump(out,argp,(int)ret); } return(ret); -- 2.25.1