diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-12-10 19:06:09 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-12-10 19:06:09 +0900 |
| commit | 3637291c22d43439c03c928231a38840306ade30 (patch) | |
| tree | e998dafaae2b12ce86942b9a996cd99c5c8a704f /src/DHTRoutingTableSerializer.cc | |
| parent | ebc082747c43d8fecbe7b38052277dd0391c7269 (diff) | |
Fixed compile warning/error with mingw32
Diffstat (limited to 'src/DHTRoutingTableSerializer.cc')
| -rw-r--r-- | src/DHTRoutingTableSerializer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DHTRoutingTableSerializer.cc b/src/DHTRoutingTableSerializer.cc index 2274ab85..f1cd2896 100644 --- a/src/DHTRoutingTableSerializer.cc +++ b/src/DHTRoutingTableSerializer.cc @@ -138,7 +138,7 @@ void DHTRoutingTableSerializer::serialize(const std::string& filename) // clen bytes compact peer WRITE_CHECK(fp, compactPeer, static_cast<size_t>(clen)); // 24-clen bytes reserved - WRITE_CHECK(fp, zero, 24-clen); + WRITE_CHECK(fp, zero, static_cast<size_t>(24-clen)); // 20bytes: node ID WRITE_CHECK(fp, node->getID(), DHT_ID_LENGTH); // 4bytes reserved |
