summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_trait_wtid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange-lib/testing_api_trait_wtid.c')
-rw-r--r--src/exchange-lib/testing_api_trait_wtid.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exchange-lib/testing_api_trait_wtid.c b/src/exchange-lib/testing_api_trait_wtid.c
index 8406dbbb..67232971 100644
--- a/src/exchange-lib/testing_api_trait_wtid.c
+++ b/src/exchange-lib/testing_api_trait_wtid.c
@@ -44,26 +44,26 @@ int
TALER_TESTING_get_trait_wtid
(const struct TALER_TESTING_Command *cmd,
unsigned int index,
- struct TALER_WireTransferIdentifierRawP **wtid)
+ const struct TALER_WireTransferIdentifierRawP **wtid)
{
return cmd->traits (cmd->cls,
- (void **) wtid,
+ (const void **) wtid,
TALER_TESTING_TRAIT_WTID,
index);
}
+
/**
* Offer a WTID.
*
* @param index associate the object with this index
* @param wtid which object should be returned
- *
* @return the trait.
*/
struct TALER_TESTING_Trait
TALER_TESTING_make_trait_wtid
(unsigned int index,
- struct TALER_WireTransferIdentifierRawP *wtid)
+ const struct TALER_WireTransferIdentifierRawP *wtid)
{
struct TALER_TESTING_Trait ret = {
.index = index,