Skip to content

Commit 5bb3ea9

Browse files
QuLogicandywolk
authored andcommitted
Fix incompatible pointer type when building tests
1 parent 0831469 commit 5bb3ea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsofia-sip-ua/msg/test_msg.c

Lines changed: 1 addition & 1 deletion
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)