From 61588f9d90622f11d17ec9594162ba4cd4c4c32e Mon Sep 17 00:00:00 2001 From: goldsimon Date: Sun, 12 Feb 2012 14:04:59 +0100 Subject: [PATCH] tcp pcb: persist_cnt can be u8_t instead of u32_t (since it is compared against u8_t only) --- src/include/lwip/tcp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/lwip/tcp.h b/src/include/lwip/tcp.h index 1454abdb..e6b6a292 100644 --- a/src/include/lwip/tcp.h +++ b/src/include/lwip/tcp.h @@ -272,7 +272,7 @@ struct tcp_pcb { #endif /* LWIP_TCP_KEEPALIVE */ /* Persist timer counter */ - u32_t persist_cnt; + u8_t persist_cnt; /* Persist timer back-off */ u8_t persist_backoff;