summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_cmd_withdraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange-lib/testing_api_cmd_withdraw.c')
-rw-r--r--src/exchange-lib/testing_api_cmd_withdraw.c6
1 files changed, 3 insertions, 3 deletions
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. */