lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #5067] Fix err_to_errno() macro for sockets API


From: Dmitry Potapov
Subject: [lwip-devel] [patch #5067] Fix err_to_errno() macro for sockets API
Date: Fri, 09 Mar 2007 10:39:51 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070216 Firefox/1.5.0.10

Follow-up Comment #7, patch #5067 (project lwip):

> this would be the first reference to the size_t type in the whole stack...

ok, let's use `unsigned' instead. I don't think it makes any difference in
this case:

 ((unsigned)(-(err)) < ERR_TO_ERRNO_TABLE_SIZE ?

the warning will disappear.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5067>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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