From eb52188f194b451e81c0120ce6b38a71b1b57aa9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi
Date: Sun, 3 Apr 2022 13:33:28 +0300
Subject: [PATCH 1/1] Block: Changed type cast
src/block.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/block.c b/src/block.c
index a919c4e..77f8ec1 100644
--- a/src/block.c
+++ b/src/block.c
@@ -321,7 +321,7 @@ void vprintf_Block(iBlock *d, const char *format, va_list args) {
/* Encoding error? Possibly the implementation frowns upon UTF-8. This seems to occur
on some older 32-bit Android releases at least. */
size_t msgLen = 0;
uint8_t *msg = u8_u8_vasnprintf(NULL, &msgLen, (const unistring_uint8_t *) format, args);
uint8_t *msg = u8_u8_vasnprintf(NULL, &msgLen, (const uint8_t *) format, args);
setData_Block(d, msg, msgLen); /* an extra copy */
free(msg);
}
--
2.25.1
text/plain
This content has been proxied by September (ba2dc).