From 5bb3ea981d037cf709c28ec5f8b1553debc8f3c4 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Fri, 2 May 2025 01:48:58 -0400 Subject: [PATCH] Fix incompatible pointer type when building tests --- libsofia-sip-ua/msg/test_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsofia-sip-ua/msg/test_msg.c b/libsofia-sip-ua/msg/test_msg.c index cb45937a0..4be814a66 100644 --- a/libsofia-sip-ua/msg/test_msg.c +++ b/libsofia-sip-ua/msg/test_msg.c @@ -1178,7 +1178,7 @@ int test_copy(void) char dst[8]; const char *src = "1234567"; - char *start = &dst; + char *start = &dst[0]; char *end = start+sizeof(dst); MSG_STRING_E(start, end, src); TEST_S(dst, src);