fix format string issues

This commit is contained in:
Christian Grothoff 2020-10-13 12:34:57 +02:00
parent ce17788c4e
commit d363e2bc76
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 3 additions and 2 deletions

View File

@ -381,7 +381,8 @@ run (void *cls,
wl = add_label (withdraw_label); wl = add_label (withdraw_label);
GNUNET_asprintf (&order_enc, GNUNET_asprintf (&order_enc,
"{\"nonce\": %llu}", "{\"nonce\": %llu}",
i + (howmany_coins * j)); ((unsigned long long) i) + (howmany_coins
* (unsigned long long) j));
unit[0] = unit[0] =
TALER_TESTING_cmd_withdraw_with_retry TALER_TESTING_cmd_withdraw_with_retry
(TALER_TESTING_cmd_withdraw_amount (wl, (TALER_TESTING_cmd_withdraw_amount (wl,

View File

@ -897,7 +897,7 @@ write_stats (void)
if (NULL == benchmark_dir) if (NULL == benchmark_dir)
return; return;
GNUNET_asprintf (&s, GNUNET_asprintf (&s,
"%s/taler-exchange-%llu-%llu.txt", "%s/taler-exchange-%llu.txt",
benchmark_dir, benchmark_dir,
(unsigned long long) pid); (unsigned long long) pid);
fh = GNUNET_DISK_file_open (s, fh = GNUNET_DISK_file_open (s,