summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorEmilia Kasper <emilia@openssl.org>2016-04-08 16:19:00 +0200
committerEmilia Kasper <emilia@openssl.org>2016-04-10 01:50:32 +0200
commit50eadf2a242468a9552fc770cb7e5ebfd89c6bb1 (patch)
tree4a814a20f6170742eb17102adf9a65d0c1eeeabf /apps
parentb59147070021ef2838e47c5c29331f6816b73f65 (diff)
Fix warnings exposed by clang-3.8
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r--apps/s_cb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/s_cb.c b/apps/s_cb.c
index 49f3acd65f..abcbad4738 100644
--- a/apps/s_cb.c
+++ b/apps/s_cb.c
@@ -507,12 +507,12 @@ long bio_dump_callback(BIO *bio, int cmd, const char *argp,
if (cmd == (BIO_CB_READ | BIO_CB_RETURN)) {
BIO_printf(out, "read from %p [%p] (%lu bytes => %ld (0x%lX))\n",
- (void *)bio, argp, (unsigned long)argi, ret, ret);
+ (void *)bio, (void *)argp, (unsigned long)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] (%lu bytes => %ld (0x%lX))\n",
- (void *)bio, argp, (unsigned long)argi, ret, ret);
+ (void *)bio, (void *)argp, (unsigned long)argi, ret, ret);
BIO_dump(out, argp, (int)ret);
}
return (ret);