aboutsummaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_trait_cmd.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-11-17 17:19:02 +0100
committerChristian Grothoff <christian@grothoff.org>2018-11-17 17:19:02 +0100
commite42f014cffae126a52c92fbf8151e6f5cecc9de0 (patch)
treed4d7754aec574bb35a830db30d690df592a224b1 /src/exchange-lib/testing_api_trait_cmd.c
parentcf1ce4786356cba7d3f84a74fab282650f612db9 (diff)
use more const in taler_testing_lib.h
Diffstat (limited to 'src/exchange-lib/testing_api_trait_cmd.c')
-rw-r--r--src/exchange-lib/testing_api_trait_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchange-lib/testing_api_trait_cmd.c b/src/exchange-lib/testing_api_trait_cmd.c
index 8e7962199..61e976568 100644
--- a/src/exchange-lib/testing_api_trait_cmd.c
+++ b/src/exchange-lib/testing_api_trait_cmd.c
@@ -50,11 +50,12 @@ TALER_TESTING_get_trait_cmd
struct TALER_TESTING_Command **_cmd)
{
return cmd->traits (cmd->cls,
- (void **) _cmd,
+ (const void **) _cmd,
TALER_TESTING_TRAIT_CMD,
index);
}
+
/**
* Offer a command in a trait.
*
@@ -63,7 +64,6 @@ TALER_TESTING_get_trait_cmd
* example, a "meta" CMD returns always the
* CMD currently being executed.
* @param cmd wire details to offer.
- *
* @return the trait.
*/
struct TALER_TESTING_Trait