commit df8ff68ed8ed2026b1f353f7a8dbd3ced4ab30c1
parent b48013bd561e5f10bef55091f320356fd5fa6f6f
Author: Florian Dold <florian.dold@gmail.com>
Date: Wed, 4 Apr 2018 00:13:17 +0200
fix compiler warnings
Diffstat:
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
@@ -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
@@ -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],