From 499247a4805583dc67b9d6fef850ae86b4be1e32 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 27 Nov 2017 23:42:17 +0100 Subject: fixing #5178 --- src/exchange-lib/test_exchange_api.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/exchange-lib/test_exchange_api.c') diff --git a/src/exchange-lib/test_exchange_api.c b/src/exchange-lib/test_exchange_api.c index 7c0dfa98..5de9318f 100644 --- a/src/exchange-lib/test_exchange_api.c +++ b/src/exchange-lib/test_exchange_api.c @@ -1199,7 +1199,7 @@ static void melt_cb (void *cls, unsigned int http_status, enum TALER_ErrorCode ec, - uint16_t noreveal_index, + uint32_t noreveal_index, const struct TALER_ExchangePublicKeyP *exchange_pub, const json_t *full_response) { @@ -1312,8 +1312,6 @@ link_cb (void *cls, struct InterpreterState *is = cls; struct Command *cmd = &is->commands[is->ip]; const struct Command *ref; - unsigned int i; - unsigned int j; unsigned int found; cmd->details.refresh_link.rlh = NULL; @@ -1341,16 +1339,16 @@ link_cb (void *cls, return; } /* check that the coins match */ - for (i=0;i