Message ID | BAY403-EAS2893D1A3093E5FD0E319BE7F6A50@phx.gbl |
---|---|
State | Superseded |
Headers | show |
oOn 18 June 2015 at 13:18, yangchao <yangchao1p@live.com> wrote: > hi gays : > this is a patch for ubusd.c Please resend as a proper patch, using text/plain (not text/html), with a proper subject and commit message. See https://dev.openwrt.org/wiki/SubmittingPatches for details.
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) {