From df8ff68ed8ed2026b1f353f7a8dbd3ced4ab30c1 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 4 Apr 2018 00:13:17 +0200 Subject: [PATCH] fix compiler warnings --- src/bank-lib/testing_api_cmd_history.c | 3 ++- src/bank-lib/testing_api_cmd_reject.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bank-lib/testing_api_cmd_history.c b/src/bank-lib/testing_api_cmd_history.c index 30090bf8c..d033e677c 100644 --- a/src/bank-lib/testing_api_cmd_history.c +++ b/src/bank-lib/testing_api_cmd_history.c @@ -121,7 +121,8 @@ test_cancelled (struct TALER_TESTING_Interpreter *is, const struct TALER_TESTING_Command *c = &is->commands[i]; - #warning "Errors reported here are NOT fatal" + /* XXX: Errors reported here are NOT fatal */ + /* Rejected wire transfers have hold a reference to a * reject command to mark them as rejected. So errors * about "reject traits" not found are NOT fatal here */ diff --git a/src/bank-lib/testing_api_cmd_reject.c b/src/bank-lib/testing_api_cmd_reject.c index c01c27d87..24d741478 100644 --- a/src/bank-lib/testing_api_cmd_reject.c +++ b/src/bank-lib/testing_api_cmd_reject.c @@ -127,7 +127,7 @@ reject_run (void *cls, (GNUNET_OK == TALER_TESTING_GET_TRAIT_ROW_ID (deposit_cmd, &row_id)); TALER_LOG_INFO ("Account %llu rejects deposit\n", - *credit_account); + (unsigned long long) *credit_account); rs->rh = TALER_BANK_reject (is->ctx, rs->bank_url, &AUTHS[*credit_account -1],