Ignore:
Timestamp:
Mar 2, 2008, 12:52:07 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Fix a few more warnings.
  • Remove -Wshadow from the warnings because it is too verbose for now.
  • Remove warning flags that have no meaning in C++.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/net/include/tcpip.hpp

    r39 r40  
    4545  {
    4646    if (who->protocol_type()==IP &&
    47         !memcmp(&addr.sin_addr,& ((ip_address *)who)->addr.sin_addr,sizeof(addr.sin_addr)))
     47        !memcmp(&addr.sin_addr,& ((ip_address const *)who)->addr.sin_addr,sizeof(addr.sin_addr)))
    4848      return 1;
    4949    else return 0;
Note: See TracChangeset for help on using the changeset viewer.