summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-11-17 14:31:44 +0100
committerChristian Grothoff <christian@grothoff.org>2016-11-17 14:31:44 +0100
commite3ec645b0da594ccc3bf915b94f7ad77ca1e2a81 (patch)
treefb8191fda96c9b84a69fa61438e52cf007b4883c /src/exchange
parent2faa711fba76114bdad190d64f2d12c26754bc4a (diff)
downloadexchange-e3ec645b0da594ccc3bf915b94f7ad77ca1e2a81.tar.gz
exchange-e3ec645b0da594ccc3bf915b94f7ad77ca1e2a81.tar.bz2
exchange-e3ec645b0da594ccc3bf915b94f7ad77ca1e2a81.zip
change rowid type to uint64_t everywhere; start with reserve-analysis in auditor
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-aggregator.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/exchange/taler-exchange-aggregator.c b/src/exchange/taler-exchange-aggregator.c
index 9a3c2a1d4..525886d53 100644
--- a/src/exchange/taler-exchange-aggregator.c
+++ b/src/exchange/taler-exchange-aggregator.c
@@ -410,7 +410,7 @@ exchange_serve_process_config ()
*/
static int
deposit_cb (void *cls,
- unsigned long long row_id,
+ uint64_t row_id,
const struct TALER_MerchantPublicKeyP *merchant_pub,
const struct TALER_CoinSpendPublicKeyP *coin_pub,
const struct TALER_Amount *amount_with_fee,
@@ -428,7 +428,7 @@ deposit_cb (void *cls,
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Fatally malformed record at row %llu\n",
- row_id);
+ (unsigned long long) row_id);
return GNUNET_SYSERR;
}
au->row_id = row_id;
@@ -485,7 +485,7 @@ deposit_cb (void *cls,
*/
static int
aggregate_cb (void *cls,
- unsigned long long row_id,
+ uint64_t row_id,
const struct TALER_MerchantPublicKeyP *merchant_pub,
const struct TALER_CoinSpendPublicKeyP *coin_pub,
const struct TALER_Amount *amount_with_fee,
@@ -509,7 +509,7 @@ aggregate_cb (void *cls,
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Fatally malformed record at %llu\n",
- row_id);
+ (unsigned long long) row_id);
return GNUNET_SYSERR;
}
/* add to total */
@@ -520,7 +520,7 @@ aggregate_cb (void *cls,
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Overflow or currency incompatibility during aggregation at %llu\n",
- row_id);
+ (unsigned long long) row_id);
/* Skip this one, but keep going! */
return GNUNET_OK;
}
@@ -950,7 +950,7 @@ wire_confirm_cb (void *cls,
*/
static void
wire_prepare_cb (void *cls,
- unsigned long long rowid,
+ uint64_t rowid,
const char *wire_method,
const char *buf,
size_t buf_size)
@@ -958,7 +958,7 @@ wire_prepare_cb (void *cls,
wpd->row_id = rowid;
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Starting wire transfer %llu\n",
- rowid);
+ (unsigned long long) rowid);
wpd->wp = find_plugin (wire_method);
wpd->eh = wpd->wp->wire_plugin->execute_wire_transfer (wpd->wp->wire_plugin->cls,
buf,