X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fprotocol.cpp;h=9933452d4f6353b767c8d933d516d955adff7add;hb=a93ab877877925c60b2dbf56bdde8aa46b6b7391;hp=48784b9cfb2f7a9d9a1c36a74e3aec1bbfda3810;hpb=e4dde849ae5544383703ef2d73592677e6c528ad;p=novacoin.git diff --git a/src/protocol.cpp b/src/protocol.cpp index 48784b9..9933452 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -6,7 +6,7 @@ #include "protocol.h" #include "util.h" -#ifndef __WXMSW__ +#ifndef WIN32 # include #endif @@ -270,7 +270,7 @@ CInv::CInv(int typeIn, const uint256& hashIn) 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])