兼容 asr1903
Change-Id: I3888f1adc86ea1fa73af4996d31f40223c0e5735
diff --git a/mbtk/libmbtk_lib/net/mbtk_sock.c b/mbtk/libmbtk_lib/net/mbtk_sock.c
index ccd872f..bd12db6 100755
--- a/mbtk/libmbtk_lib/net/mbtk_sock.c
+++ b/mbtk/libmbtk_lib/net/mbtk_sock.c
@@ -96,7 +96,7 @@
addr_in6 = (struct sockaddr_in6 *)curr->ai_addr;
memcpy(&(serverSockAddr.sin6_addr), &(addr_in6->sin6_addr), sizeof(struct in6_addr));
}
- if (connect(sock_info->fd, &serverSockAddr, sizeof(struct sockaddr_in6)) < 0)
+ if (connect(sock_info->fd, (struct sockaddr*)&serverSockAddr, sizeof(struct sockaddr_in6)) < 0)
{
if (EINPROGRESS != errno)
{