aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bank-lib/test_bank_api_new.c2
-rw-r--r--src/bank-lib/testing_api_cmd_history.c4
-rw-r--r--src/include/taler_testing_bank_lib.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/bank-lib/test_bank_api_new.c b/src/bank-lib/test_bank_api_new.c
index dcebeb711..3645b3010 100644
--- a/src/bank-lib/test_bank_api_new.c
+++ b/src/bank-lib/test_bank_api_new.c
@@ -111,7 +111,7 @@ run (void *cls,
EXCHANGE_ACCOUNT_NUMBER,
TALER_BANK_DIRECTION_CREDIT,
NULL,
- 5),
+ -5),
TALER_TESTING_cmd_bank_history ("history-1d",
bank_url,
diff --git a/src/bank-lib/testing_api_cmd_history.c b/src/bank-lib/testing_api_cmd_history.c
index b1bed3fc4..7b831d4ed 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;
diff --git a/src/include/taler_testing_bank_lib.h b/src/include/taler_testing_bank_lib.h
index 5bdf004e9..fd027c5b8 100644
--- a/src/include/taler_testing_bank_lib.h
+++ b/src/include/taler_testing_bank_lib.h
@@ -105,7 +105,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);
/**
* Create a "reject" CMD.