Skip to content

Commit 9b8c0d1

Browse files
committed
Fix incompatible pointer type when building tests
1 parent 1799a0d commit 9b8c0d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsofia-sip-ua/msg/test_msg.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@ int test_copy(void)
11781178
char dst[8];
11791179
const char *src = "1234567";
11801180

1181-
char *start = &dst;
1181+
char *start = &dst[0];
11821182
char *end = start+sizeof(dst);
11831183
MSG_STRING_E(start, end, src);
11841184
TEST_S(dst, src);

0 commit comments

Comments
 (0)