From 4c5c63e9b921158bc4bd774d575f5fb562c116c5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 15 Jan 2020 22:47:20 +0100 Subject: simplify credit history computation --- src/lib/testing_api_cmd_bank_history_debit.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/lib/testing_api_cmd_bank_history_debit.c') diff --git a/src/lib/testing_api_cmd_bank_history_debit.c b/src/lib/testing_api_cmd_bank_history_debit.c index 6ac54e2ca..a45c6da89 100644 --- a/src/lib/testing_api_cmd_bank_history_debit.c +++ b/src/lib/testing_api_cmd_bank_history_debit.c @@ -149,9 +149,9 @@ print_expected (struct History *h, unsigned int off) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "Transaction history missmatch at position %u/%llu\n", + "Transaction history missmatch at position %u/%u\n", off, - (unsigned long long) h_len); + h_len); GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Expected history:\n"); for (unsigned int i = 0; i