diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-17 17:19:02 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-17 17:19:02 +0100 |
commit | e42f014cffae126a52c92fbf8151e6f5cecc9de0 (patch) | |
tree | d4d7754aec574bb35a830db30d690df592a224b1 /src/exchange-lib/testing_api_trait_fresh_coin.c | |
parent | cf1ce4786356cba7d3f84a74fab282650f612db9 (diff) | |
download | exchange-e42f014cffae126a52c92fbf8151e6f5cecc9de0.tar.xz |
use more const in taler_testing_lib.h
Diffstat (limited to 'src/exchange-lib/testing_api_trait_fresh_coin.c')
-rw-r--r-- | src/exchange-lib/testing_api_trait_fresh_coin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/exchange-lib/testing_api_trait_fresh_coin.c b/src/exchange-lib/testing_api_trait_fresh_coin.c index 8779593ab..1f6cdac2c 100644 --- a/src/exchange-lib/testing_api_trait_fresh_coin.c +++ b/src/exchange-lib/testing_api_trait_fresh_coin.c @@ -38,21 +38,21 @@ * @param index which array to pick if @a cmd has multiple * on offer. * @param fresh_coins[out] will point to the offered array. - * * @return #GNUNET_OK on success. */ int TALER_TESTING_get_trait_fresh_coins (const struct TALER_TESTING_Command *cmd, unsigned int index, - struct FreshCoin **fresh_coins) + const struct FreshCoin **fresh_coins) { return cmd->traits (cmd->cls, - (void **) fresh_coins, + (const void **) fresh_coins, TALER_TESTING_TRAIT_FRESH_COINS, index); } + /** * Offer a _array_ of fresh coins. * |