Skip to content

Commit e5c89e6

Browse files
committed
fix ARMv7 compile
1 parent 84b48bc commit e5c89e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/carrot_impl/carrot_tx_format_utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ cryptonote::transaction store_carrot_to_coinbase_transaction_v1(
276276
tx.rct_signatures.type = rct::RCTTypeNull;
277277

278278
//input
279-
tx.vin.emplace_back(cryptonote::txin_gen{.height = block_index});
279+
tx.vin.emplace_back(cryptonote::txin_gen{.height = static_cast<size_t>(block_index)});
280280

281281
//outputs
282282
for (const CarrotCoinbaseEnoteV1 &enote : enotes)

0 commit comments

Comments
 (0)