git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Code cleanup
[novacoin.git]
/
src
/
netbase.cpp
diff --git
a/src/netbase.cpp
b/src/netbase.cpp
index
240863c
..
59e5d70
100644
(file)
--- a/
src/netbase.cpp
+++ b/
src/netbase.cpp
@@
-921,10
+921,10
@@
std::vector<unsigned char> CNetAddr::GetGroup() const
return vchRet;
}
-uint64 CNetAddr::GetHash() const
+uint64_t CNetAddr::GetHash() const
{
uint256 hash = Hash(&ip[0], &ip[16]);
- uint64 nRet;
+ uint64_t nRet;
memcpy(&nRet, &hash, sizeof(nRet));
return nRet;
}