diff options
Diffstat (limited to 'node/Peer.cpp')
| -rw-r--r-- | node/Peer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Peer.cpp b/node/Peer.cpp index f8ff4082..db6ad261 100644 --- a/node/Peer.cpp +++ b/node/Peer.cpp @@ -216,7 +216,7 @@ bool Peer::isTcpFailoverTime(const RuntimeEnvironment *_r,uint64_t now) const void Peer::clean(uint64_t now) { Mutex::Lock _l(_lock); - unsigned long i = 0,o = 0,l = _paths.size(); + unsigned long i = 0,o = 0,l = (unsigned long)_paths.size(); while (i != l) { if (_paths[i].active(now)) _paths[o++] = _paths[i]; |
