aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-03-19 10:38:53 +0100
committerChristian Grothoff <christian@grothoff.org>2019-03-19 10:38:53 +0100
commit66ce33525eb35c355228d898187e610b7f4ec282 (patch)
tree04105cfd19ca3625f042d38c54480fa4d04b8035 /src
parent59075946de79276104c1302293deababa18ac5d1 (diff)
keep type of batch_size unsigned
Diffstat (limited to 'src')
-rw-r--r--src/exchange/taler-exchange-wirewatch.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-wirewatch.c b/src/exchange/taler-exchange-wirewatch.c
index 747ec59db..3c35e00cf 100644
--- a/src/exchange/taler-exchange-wirewatch.c
+++ b/src/exchange/taler-exchange-wirewatch.c
@@ -168,7 +168,7 @@ static int reset_mode;
/**
* How many transactions do we retrieve per batch?
*/
-static long long int batch_size = 1024;
+static unsigned int batch_size = 1024;
/**
* How many transactions did we see in the current batch?
@@ -646,7 +646,9 @@ find_transfers (void *cls)
TALER_BANK_DIRECTION_CREDIT,
last_row_off,
last_row_off_size,
- NULL != last_row_off ? batch_size : (-1) * batch_size,
+ NULL != last_row_off
+ ? (int64_t) batch_size
+ : (-1) * (int64_t) batch_size,
&history_cb,
session);
if (NULL == hh)