|
From: | Kieran Mansley |
Subject: | [lwip-devel] [bug #27521] Data type warning in api_msg.c |
Date: | Fri, 25 Sep 2009 08:01:59 +0000 |
User-agent: | Opera/9.64 (X11; Linux i686; U; en) Presto/2.1.1 |
Update of bug #27521 (project lwip): Status: None => Wont Fix Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #1: The code looks OK to me, but you're right that if size_t is a u16_t then the check is unnecessary and the compiler will generate a warning. I would just ignore the warning as we know it's OK. The code needs to be like that because it won't always be false on other platforms (where size_t > u16_t). _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?27521> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |