test: Don't assume size_t == u64 in tests

This commit is contained in:
Christian Decker 2017-09-06 22:53:18 -07:00 committed by Rusty Russell
parent 058600bee6
commit 0137aea7fc

View File

@ -269,7 +269,7 @@ static void report_htlcs(const struct bitcoin_tx *tx,
wscript[i],
x_remote_secretkey, remotekey,
&remotesig[i]);
printf("# signature for output %zi (htlc %zu)\n", i, htlc->id);
printf("# signature for output %zi (htlc %"PRIu64")\n", i, htlc->id);
printf("remote_htlc_signature = %s\n",
type_to_string(tmpctx, secp256k1_ecdsa_signature,
&remotesig[i]));