summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-04-22 21:35:19 +0200
committerChristian Grothoff <christian@grothoff.org>2019-04-22 21:35:19 +0200
commit9c515d218b6267fdd4343b2aea2648031b44c8a1 (patch)
tree6c17698869b0c165bd3afe361a604481a3baef5b
parent4c9c7482f9748236f570f92a21af0d38b6ca2d6a (diff)
downloadexchange-9c515d218b6267fdd4343b2aea2648031b44c8a1.tar.gz
exchange-9c515d218b6267fdd4343b2aea2648031b44c8a1.tar.bz2
exchange-9c515d218b6267fdd4343b2aea2648031b44c8a1.zip
use uint64_t for serial_id
-rw-r--r--src/bank-lib/taler-bank-transfer.c2
-rw-r--r--src/bank-lib/test_bank_interpreter.c2
-rw-r--r--src/include/taler_bank_service.h2
-rw-r--r--src/lib/testing_api_cmd_fakebank_transfer.c6
-rw-r--r--src/wire-plugins/plugin_wire_taler-bank.c4
5 files changed, 8 insertions, 8 deletions
diff --git a/src/bank-lib/taler-bank-transfer.c b/src/bank-lib/taler-bank-transfer.c
index 8b503a41..2729b7ee 100644
--- a/src/bank-lib/taler-bank-transfer.c
+++ b/src/bank-lib/taler-bank-transfer.c
@@ -122,7 +122,7 @@ static void
res_cb (void *cls,
unsigned int http_status,
enum TALER_ErrorCode ec,
- long long unsigned serial_id,
+ uint64_t serial_id,
struct GNUNET_TIME_Absolute timestamp,
const json_t *json)
{
diff --git a/src/bank-lib/test_bank_interpreter.c b/src/bank-lib/test_bank_interpreter.c
index 4d5c714d..9430e84b 100644
--- a/src/bank-lib/test_bank_interpreter.c
+++ b/src/bank-lib/test_bank_interpreter.c
@@ -537,7 +537,7 @@ static void
add_incoming_cb (void *cls,
unsigned int http_status,
enum TALER_ErrorCode ec,
- long long unsigned int row_id,
+ uint64_t row_id,
struct GNUNET_TIME_Absolute timestamp,
const json_t *json)
{
diff --git a/src/include/taler_bank_service.h b/src/include/taler_bank_service.h
index f54c79b0..2cebbe6e 100644
--- a/src/include/taler_bank_service.h
+++ b/src/include/taler_bank_service.h
@@ -108,7 +108,7 @@ typedef void
(*TALER_BANK_AdminAddIncomingResultCallback) (void *cls,
unsigned int http_status,
enum TALER_ErrorCode ec,
- long long unsigned int serial_id,
+ uint64_t serial_id,
struct GNUNET_TIME_Absolute timestamp,
const json_t *json);
diff --git a/src/lib/testing_api_cmd_fakebank_transfer.c b/src/lib/testing_api_cmd_fakebank_transfer.c
index cb3826af..cff16157 100644
--- a/src/lib/testing_api_cmd_fakebank_transfer.c
+++ b/src/lib/testing_api_cmd_fakebank_transfer.c
@@ -194,8 +194,8 @@ do_retry (void *cls)
static void
add_incoming_cb (void *cls,
unsigned int http_status,
- enum TALER_ErrorCode ec,
- long long unsigned int serial_id,
+ enum TALER_ErrorCode ec,
+ uint64_t serial_id,
struct GNUNET_TIME_Absolute timestamp,
const json_t *full_response)
{
@@ -456,7 +456,7 @@ fakebank_transfer_traits (void *cls,
else
traits[MANDATORY - 1] = TALER_TESTING_make_trait_reserve_priv
(0, &fts->reserve_priv),
-
+
traits[MANDATORY] = TALER_TESTING_trait_end ();
return TALER_TESTING_get_trait (traits,
diff --git a/src/wire-plugins/plugin_wire_taler-bank.c b/src/wire-plugins/plugin_wire_taler-bank.c
index d100dec5..724ad2a4 100644
--- a/src/wire-plugins/plugin_wire_taler-bank.c
+++ b/src/wire-plugins/plugin_wire_taler-bank.c
@@ -626,7 +626,7 @@ static void
execute_cb (void *cls,
unsigned int http_status,
enum TALER_ErrorCode ec,
- long long unsigned int serial_id,
+ uint64_t serial_id,
struct GNUNET_TIME_Absolute timestamp,
const json_t *json)
{
@@ -808,7 +808,7 @@ taler_bank_execute_wire_transfer (void *cls,
wire_s,
&amount,
(uint64_t) origin_account.no,
- (uint64_t) destination_account.no,
+ (uint64_t) destination_account.no,
&execute_cb,
eh);
GNUNET_free_non_null (origin_account.bank_base_url);