Windows build fixes, Software update fix, warning removal.

This commit is contained in:
Adam Ierymenko 2017-01-13 14:22:36 -08:00
parent 54f25b14ee
commit 1346e31a8e
5 changed files with 17 additions and 14 deletions

View file

@ -220,7 +220,7 @@ private:
{
_GatherAuthKey() : member(0),networkId(0) {}
_GatherAuthKey(const uint64_t nwid,const Address &a) : member(a.toInt()),networkId(nwid) {}
inline unsigned long hashCode() const { return (member ^ networkId); }
inline unsigned long hashCode() const { return (unsigned long)(member ^ networkId); }
inline bool operator==(const _GatherAuthKey &k) const { return ((member == k.member)&&(networkId == k.networkId)); }
uint64_t member;
uint64_t networkId;