Avoid warnings saying that the format takes a void*.
authorRichard Levitte <levitte@openssl.org>
Wed, 11 Jun 2003 22:26:02 +0000 (22:26 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 11 Jun 2003 22:26:02 +0000 (22:26 +0000)
apps/s_cb.c

index 1410178..28f8acc 100644 (file)
@@ -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);