master hovercats/oakiss / pkg / libressl / patch / 0005-Use-void-for-printf-p-format-specifier.patch
 1From 5825db2081409ded9b815461c4ff05839215baa5 Mon Sep 17 00:00:00 2001
 2From: Michael Forney <mforney@mforney.org>
 3Date: Fri, 3 Apr 2026 02:27:29 -0700
 4Subject: [PATCH] Use void * for printf %p format specifier
 5
 6---
 7 crypto/bio/bio_cb.c | 2 +-
 8 1 file changed, 1 insertion(+), 1 deletion(-)
 9
10diff --git a/crypto/bio/bio_cb.c b/crypto/bio/bio_cb.c
11index 990cb20..35f9f18 100644
12--- a/crypto/bio/bio_cb.c
13+++ b/crypto/bio/bio_cb.c
14@@ -78,7 +78,7 @@ BIO_debug_callback(BIO *bio, int cmd, const char *argp, int argi, long argl,
15 	if (BIO_CB_RETURN & cmd)
16 		r = ret;
17 
18-	nbuf = snprintf(buf, sizeof(buf), "BIO[%p]: ", bio);
19+	nbuf = snprintf(buf, sizeof(buf), "BIO[%p]: ", (void *)bio);
20 	if (nbuf < 0)
21 		nbuf = 0;	/* Ignore error; continue printing. */
22 	if (nbuf >= sizeof(buf))
23-- 
242.49.0
25