[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2 10/12] mini-os: add struct file_ops for file type socket
On 11/01/2022 15:12, Juergen Gross wrote: > +static int socket_write(int fd, const void *buf, size_t nbytes) > +{ > + return lwip_write(fd, (void *)buf, nbytes); This void cast was bogus before, and can be dropped. lwip_write() already takes a const pointer. ~Andrew
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |