|
| From: | Mike Pontillo |
| Subject: | [lwip-devel] [patch #7683] u32_t should be time_t in some cases |
| Date: | Mon, 12 Dec 2011 19:01:38 +0000 |
| User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2 |
Follow-up Comment #4, patch #7683 (project lwip):
Quick follow-up.
I changed my approach to simply cast 3 time_t values to u32_t in the
sys_arch.c for the UNIX port.
Unfortunately it seems -Wall doesn't do the trick to provide the warnings
(it's already in the Makefile); these warnings appear to be specific to my
compilation environment. The complaint is about implicit conversion from
unsigned int to time_t's type (long).
I will attach a new patch, this time to lwip-contrib. (I didn't look closely
to make sure overflow cases were being handled.)
(file #24579)
_______________________________________________________
Additional Item Attachment:
File name: lwip-contrib_sys_arch.diff Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?7683>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |