Explorar el Código

Fix compiler warning on 32 bit platform

Tatsuhiro Tsujikawa hace 10 años
padre
commit
826c239ed2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/DHTNode.cc

+ 1 - 1
src/DHTNode.cc

@@ -129,7 +129,7 @@ std::string DHTNode::toString() const
              ipaddr_.c_str(),
              port_,
              condition_,
-             rtt_.count());
+             static_cast<long int>(rtt_.count()));
 }
 
 void DHTNode::setID(const unsigned char* id)