HI, allthis is a patch try to fix Signed-off-by:Yang Chao <yangchao1p at live.com>diff --git a/ubusd.c b/ubusd.c index 8903105..ecf5bea 100644 --- a/ubusd.c +++ b/ubusd.c @@ -241,7 +241,7 @@ retry: fd_buf.fd = -1;
- iov.iov_base = &cl->hdrbuf + offset; + iov.iov_base = (char *)&cl->hdrbuf + offset; iov.iov_len = sizeof(cl->hdrbuf) - offset; if (cl->pending_msg_fd < 0) { yangcha...@live.com
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel