[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] lwip_getsockopt_impl() return type

From: Joan Lledó
Subject: [lwip-users] lwip_getsockopt_impl() return type
Date: Thu, 16 Feb 2017 18:17:37 +0100


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:


I'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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]