summaryrefslogtreecommitdiff
path: root/src/exchange-lib/testing_api_trait_number.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange-lib/testing_api_trait_number.c')
-rw-r--r--src/exchange-lib/testing_api_trait_number.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/exchange-lib/testing_api_trait_number.c b/src/exchange-lib/testing_api_trait_number.c
index 67b01ae8e..ee2e76dbb 100644
--- a/src/exchange-lib/testing_api_trait_number.c
+++ b/src/exchange-lib/testing_api_trait_number.c
@@ -38,29 +38,26 @@
* @param cmd command to extract the number from.
* @param index the number's index number.
* @param n[out] set to the number coming from @a cmd.
- *
* @return #GNUNET_OK on success.
*/
int
TALER_TESTING_get_trait_uint
(const struct TALER_TESTING_Command *cmd,
unsigned int index,
- unsigned int **n)
+ const unsigned int **n)
{
return cmd->traits (cmd->cls,
- (void **) n,
+ (const void **) n,
TALER_TESTING_TRAIT_UINT,
index);
}
-
/**
* Offer a number.
*
* @param index the number's index number.
* @param n the number to offer.
- *
* @return #GNUNET_OK on success.
*/
struct TALER_TESTING_Trait
@@ -92,7 +89,7 @@ TALER_TESTING_get_trait_uint64
const uint64_t **n)
{
return cmd->traits (cmd->cls,
- (void **) n,
+ (const void **) n,
TALER_TESTING_TRAIT_UINT64,
index);
}