aboutsummaryrefslogtreecommitdiff
path: root/src/bank-lib
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-04-11 00:33:01 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-04-11 00:33:01 +0200
commit25f444a3612dce485c925aa487531f96ae574db5 (patch)
treefc381491f070d77a418f1aded9d0e7819f629d38 /src/bank-lib
parent2025e1168576c0b29e1ea1cbd26287734a742f62 (diff)
Address compilation warnings.
Diffstat (limited to 'src/bank-lib')
-rw-r--r--src/bank-lib/fakebank.c2
-rw-r--r--src/bank-lib/fakebank.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index a72d978f2..27cf6b8b9 100644
--- a/src/bank-lib/fakebank.c
+++ b/src/bank-lib/fakebank.c
@@ -695,7 +695,7 @@ handle_history (struct TALER_FAKEBANK_Handle *h,
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"/history, start row (0 == no transactions exist): %llu\n",
- NULL != pos ? pos->row_id : 0);
+ NULL != pos ? pos->row_id : 0LL);
return TFH_build_history_response (connection,
pos,
&ha,
diff --git a/src/bank-lib/fakebank.h b/src/bank-lib/fakebank.h
index 4e81b3539..f547db52d 100644
--- a/src/bank-lib/fakebank.h
+++ b/src/bank-lib/fakebank.h
@@ -77,7 +77,7 @@ struct Transaction
/**
* Number of this transaction.
*/
- uint64_t row_id;
+ long long unsigned int row_id;
/**
* Flag set if the transfer was rejected.