summaryrefslogtreecommitdiff
path: root/src/bank-lib/testing_api_cmd_history.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-12-13 19:44:58 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2018-12-13 19:44:58 +0100
commitc1a75b5b98a99e5d1b02a4bd17f76daf7d67d629 (patch)
treeff102e5ebcff4000a0f9f2baba87527317175ecd /src/bank-lib/testing_api_cmd_history.c
parentb3c31f8f5985124d33cee7e3cf4d05b7d32c35d9 (diff)
downloadexchange-c1a75b5b98a99e5d1b02a4bd17f76daf7d67d629.tar.gz
exchange-c1a75b5b98a99e5d1b02a4bd17f76daf7d67d629.tar.bz2
exchange-c1a75b5b98a99e5d1b02a4bd17f76daf7d67d629.zip
Adapt test to bank returning descending /history elements.
Diffstat (limited to 'src/bank-lib/testing_api_cmd_history.c')
-rw-r--r--src/bank-lib/testing_api_cmd_history.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bank-lib/testing_api_cmd_history.c b/src/bank-lib/testing_api_cmd_history.c
index b1bed3fc..7b831d4e 100644
--- a/src/bank-lib/testing_api_cmd_history.c
+++ b/src/bank-lib/testing_api_cmd_history.c
@@ -67,7 +67,7 @@ struct HistoryState
/**
* How many rows we want in the result.
*/
- unsigned int num_results;
+ long long num_results;
/**
* Handle to a pending "history" operation.
@@ -781,7 +781,7 @@ TALER_TESTING_cmd_bank_history
uint64_t account_no,
enum TALER_BANK_Direction direction,
const char *start_row_reference,
- unsigned int num_results)
+ long long num_results)
{
struct HistoryState *hs;
struct TALER_TESTING_Command cmd;