#include "protocol.h"
#include "util.h"
-#ifndef __WXMSW__
+#ifndef WIN32
# include <arpa/inet.h>
#endif
CInv::CInv(const std::string& strType, const uint256& hashIn)
{
- int i;
+ unsigned int i;
for (i = 1; i < ARRAYLEN(ppszTypeName); i++)
{
if (strType == ppszTypeName[i])