lwip-users
[Top][All Lists]
Advanced

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

RE: [lwip-users] Strange "always true" conditional in tcp_in.c


From: Bill Auerbach
Subject: RE: [lwip-users] Strange "always true" conditional in tcp_in.c
Date: Mon, 1 Mar 2010 09:02:55 -0500

I forgot the cast and so now it's char specific!  I guess storing the max
value is the only portable way, but that still involves knowing the type.
This isn't much different than what we have now but it's more efficient -
and you must use the cast.  Oh well...

if ((u8_t) (pcb->dupacks + 1) != 0)
  ++pcb->dupacks;






reply via email to

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