keep type of batch_size unsigned

This commit is contained in:
Christian Grothoff 2019-03-19 10:38:53 +01:00
parent 59075946de
commit 66ce33525e
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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)