cryptonote_protocol: fix size_t used in wire format

This is 32 bits on 32 bit platforms, but 64 bits on 64 bit platforms.
This commit is contained in:
moneromooo-monero 2018-01-11 17:31:47 +00:00
parent 35d5aa36c9
commit b56f46457c
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -271,7 +271,7 @@ namespace cryptonote
{ {
crypto::hash block_hash; crypto::hash block_hash;
uint64_t current_blockchain_height; uint64_t current_blockchain_height;
std::vector<size_t> missing_tx_indices; std::vector<uint64_t> missing_tx_indices;
BEGIN_KV_SERIALIZE_MAP() BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE_VAL_POD_AS_BLOB(block_hash) KV_SERIALIZE_VAL_POD_AS_BLOB(block_hash)