소스 검색

Fix compiler warning on 32 bit platform

Tatsuhiro Tsujikawa 10 년 전
부모
커밋
826c239ed2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)