--------------------- PatchSet 5866 Date: 2007/09/30 18:59:04 Author: serassio Branch: squid3-ipv6 Tag: (none) Log: Fix build error on Windows using MinGW Members: lib/IPAddress.cc:1.1.2.71->1.1.2.72 Index: squid3/lib/IPAddress.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/lib/Attic/IPAddress.cc,v retrieving revision 1.1.2.71 retrieving revision 1.1.2.72 diff -u -r1.1.2.71 -r1.1.2.72 --- squid3/lib/IPAddress.cc 24 Sep 2007 02:15:47 -0000 1.1.2.71 +++ squid3/lib/IPAddress.cc 30 Sep 2007 18:59:04 -0000 1.1.2.72 @@ -1,5 +1,5 @@ /* - * $Id: IPAddress.cc,v 1.1.2.71 2007/09/24 02:15:47 amosjeffries Exp $ + * $Id: IPAddress.cc,v 1.1.2.72 2007/09/30 18:59:04 serassio Exp $ * * DEBUG: section 14 IP Storage and Handling * AUTHOR: Amos Jeffries @@ -102,7 +102,7 @@ #define IASSERT(a,b) \ do{ printf("assert \"%s\" at line %d\n", a, __LINE__); \ printf("IPAddress invalid? with IsIPv4()=%c, IsIPv6()=%c\n",(IsIPv4()?'T':'F'),(IsIPv6()?'T':'F')); \ - printf("ADDRESS: %x\n", m_SocketAddr.sin_addr.s_addr); \ + printf("ADDRESS: %x\n", (unsigned int)m_SocketAddr.sin_addr.s_addr); \ assert(b); \ }while(0) #endif