mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-14 20:26:49 +08:00
patch #10206: Fixed Signed/Unsigned Comparison Warning
Signed-off-by: Simon Goldschmidt <goldsimon@gmx.de>
This commit is contained in:
committed by
Simon Goldschmidt
parent
d82e428723
commit
aab56d21f0
@@ -422,7 +422,7 @@ altcp_mbedtls_handle_rx_appldata(struct altcp_pcb *conn, altcp_mbedtls_state_t *
|
||||
} else {
|
||||
err_t err;
|
||||
if (ret) {
|
||||
LWIP_ASSERT("bogus receive length", ret <= PBUF_POOL_BUFSIZE);
|
||||
LWIP_ASSERT("bogus receive length", (size_t)ret <= PBUF_POOL_BUFSIZE);
|
||||
/* trim pool pbuf to actually decoded length */
|
||||
pbuf_realloc(buf, (u16_t)ret);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user