git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Remove loop macro from util.h
[novacoin.git]
/
src
/
protocol.cpp
diff --git
a/src/protocol.cpp
b/src/protocol.cpp
index
213e8a4
..
d6e340e
100644
(file)
--- a/
src/protocol.cpp
+++ b/
src/protocol.cpp
@@
-128,7
+128,7
@@
bool operator<(const CInv& a, const CInv& b)
bool CInv::IsKnownType() const
{
- return (type >= 1 && type < ARRAYLEN(ppszTypeName));
+ return (type >= 1 && type < (int)ARRAYLEN(ppszTypeName));
}
const char* CInv::GetCommand() const