Hello,
lwip_getsockopt_impl() in api/sockets.c returns u8_t, which is enough for most errno implementations, but some implementations need all 32 bits. Please, take a look at this thread:
https://lists.debian.org/debian-hurd/2002/01/msg00022.htmlI've changed return type to u32_t and have also needed to mask the value when converting it to u8_t in sockets.c:302. Is it safe to do this?
Thank you.