aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-01-11 17:31:47 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-01-11 17:31:47 +0000
commitb56f46457c5553cae91e5dc13ca7cdd5bbc5e597 (patch)
tree782b0708c535990735d57293a971733f8e660bf9
parentMerge pull request #3091 (diff)
downloadmonero-b56f46457c5553cae91e5dc13ca7cdd5bbc5e597.tar.xz
cryptonote_protocol: fix size_t used in wire format
This is 32 bits on 32 bit platforms, but 64 bits on 64 bit platforms.
-rw-r--r--src/cryptonote_protocol/cryptonote_protocol_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_defs.h b/src/cryptonote_protocol/cryptonote_protocol_defs.h
index fc2f4c343..a1682ef8c 100644
--- a/src/cryptonote_protocol/cryptonote_protocol_defs.h
+++ b/src/cryptonote_protocol/cryptonote_protocol_defs.h
@@ -271,7 +271,7 @@ namespace cryptonote
{
crypto::hash block_hash;
uint64_t current_blockchain_height;
- std::vector<size_t> missing_tx_indices;
+ std::vector<uint64_t> missing_tx_indices;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE_VAL_POD_AS_BLOB(block_hash)