From e42f014cffae126a52c92fbf8151e6f5cecc9de0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 17 Nov 2018 17:19:02 +0100 Subject: use more const in taler_testing_lib.h --- src/exchange-lib/testing_api_cmd_withdraw.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/exchange-lib/testing_api_cmd_withdraw.c') diff --git a/src/exchange-lib/testing_api_cmd_withdraw.c b/src/exchange-lib/testing_api_cmd_withdraw.c index 51dd1d71..344a5c46 100644 --- a/src/exchange-lib/testing_api_cmd_withdraw.c +++ b/src/exchange-lib/testing_api_cmd_withdraw.c @@ -245,7 +245,7 @@ withdraw_run (void *cls, struct TALER_TESTING_Interpreter *is) { struct WithdrawState *ws = cls; - struct TALER_ReservePrivateKeyP *rp; + const struct TALER_ReservePrivateKeyP *rp; const struct TALER_TESTING_Command *create_reserve; (void) cmd; @@ -333,13 +333,13 @@ withdraw_cleanup (void *cls, */ static int withdraw_traits (void *cls, - void **ret, + const void **ret, const char *trait, unsigned int index) { struct WithdrawState *ws = cls; const struct TALER_TESTING_Command *reserve_cmd; - struct TALER_ReservePrivateKeyP *reserve_priv; + const struct TALER_ReservePrivateKeyP *reserve_priv; /* We offer the reserve key where these coins were withdrawn * from. */ -- cgit v1.2.3