fix compiler warnings related to use of %llu on uint64_t

This commit is contained in:
Christian Grothoff 2018-03-12 11:25:39 +01:00
parent ae2f61947b
commit 1ae2ba3d0a
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -308,9 +308,9 @@ build_history (struct TALER_TESTING_Interpreter *is,
TALER_LOG_INFO ("Potential history element:"
" %llu->%llu; my account: %llu\n",
*debit_account_no,
*credit_account_no,
hs->account_no);
(unsigned long long) *debit_account_no,
(unsigned long long) *credit_account_no,
(unsigned long long) hs->account_no);
if ( ( (0 != (hs->direction & TALER_BANK_DIRECTION_CREDIT)) &&
(hs->account_no == *credit_account_no)) ||
@ -380,9 +380,9 @@ build_history (struct TALER_TESTING_Interpreter *is,
TALER_LOG_INFO ("Potential history bit:"
" %llu->%llu; my account: %llu\n",
*debit_account_no,
*credit_account_no,
hs->account_no);
(unsigned long long) *debit_account_no,
(unsigned long long) *credit_account_no,
(unsigned long long) hs->account_no);
if ( ( (0 != (hs->direction & TALER_BANK_DIRECTION_CREDIT)) &&
(hs->account_no == *credit_account_no)) &&
@ -665,7 +665,8 @@ history_run (void *cls,
TALER_TESTING_FAIL (is);
row_id = *row_id_ptr;
TALER_LOG_DEBUG ("row id (from trait) is %llu\n", row_id);
TALER_LOG_DEBUG ("row id (from trait) is %llu\n",
(unsigned long long) row_id);
}