From 55e51ab57c6ba20aa11c4b56c14b97381b06de79 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Sun, 4 Jan 2015 21:18:00 +0000 Subject: [PATCH] merged changes from RC_1_0 --- src/kademlia/node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kademlia/node.cpp b/src/kademlia/node.cpp index 63ca8efba..d046e03e0 100644 --- a/src/kademlia/node.cpp +++ b/src/kademlia/node.cpp @@ -1277,7 +1277,7 @@ void node_impl::incoming_request(msg const& m, entry& e) { dht_mutable_item const& f = i->second; reply["seq"] = f.seq; - if (!msg_keys[0] || uint64_t(msg_keys[0]->int_value()) < f.seq) + if (!msg_keys[0] || boost::uint64_t(msg_keys[0]->int_value()) < f.seq) { reply["v"] = bdecode(f.value, f.value + f.size); reply["sig"] = std::string(f.sig, f.sig + sizeof(f.sig));