diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-04-04 00:13:17 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-04-04 00:14:02 +0200 |
commit | df8ff68ed8ed2026b1f353f7a8dbd3ced4ab30c1 (patch) | |
tree | cdd147b64bce5b88dbc80e30b0d7677dd336d24b /src/bank-lib | |
parent | b48013bd561e5f10bef55091f320356fd5fa6f6f (diff) |
fix compiler warnings
Diffstat (limited to 'src/bank-lib')
-rw-r--r-- | src/bank-lib/testing_api_cmd_history.c | 3 | ||||
-rw-r--r-- | 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], |