From 6bc7804a338e7392af656165df8f3b4134dd12fc Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 25 Jan 2017 15:05:36 +0200 Subject: [PATCH] test --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 538ca6c24..19f4fd0b4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1857,7 +1857,7 @@ bool ContextualCheckInputs(const CTransaction& tx, CValidationState &state, cons // If prev is coinbase, check that it's matured if (coins->IsCoinBase()) { if (nSpendHeight - coins->nHeight < COINBASE_MATURITY) { - fprintf(stderr,"ContextualCheckInputs failure.1 i.%d of %d\n",i,tx.vin.size()); + fprintf(stderr,"ContextualCheckInputs failure.1 i.%d of %d\n",i,(int32_t)tx.vin.size()); return state.Invalid( error("CheckInputs(): tried to spend coinbase at depth %d", nSpendHeight - coins->nHeight),REJECT_INVALID, "bad-txns-premature-spend-of-coinbase");