mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-09-20 14:03:38 +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 {
|
} else {
|
||||||
err_t err;
|
err_t err;
|
||||||
if (ret) {
|
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 */
|
/* trim pool pbuf to actually decoded length */
|
||||||
pbuf_realloc(buf, (u16_t)ret);
|
pbuf_realloc(buf, (u16_t)ret);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user