diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-10-13 12:34:57 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-10-13 12:34:57 +0200 |
commit | d363e2bc76b23dc9fd1ea145f91081096c46189f (patch) | |
tree | 36906f6c7f9c050910ea73536b0c338f6f15e0f1 | |
parent | ce17788c4e00ada0cda61947c4aadd8378d3fc9e (diff) |
fix format string issues
-rw-r--r-- | src/benchmark/taler-exchange-benchmark.c | 3 | ||||
-rw-r--r-- | src/exchange/taler-exchange-httpd.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c index 537399aed..08c701fd3 100644 --- a/src/benchmark/taler-exchange-benchmark.c +++ b/src/benchmark/taler-exchange-benchmark.c @@ -381,7 +381,8 @@ run (void *cls, wl = add_label (withdraw_label); GNUNET_asprintf (&order_enc, "{\"nonce\": %llu}", - i + (howmany_coins * j)); + ((unsigned long long) i) + (howmany_coins + * (unsigned long long) j)); unit[0] = TALER_TESTING_cmd_withdraw_with_retry (TALER_TESTING_cmd_withdraw_amount (wl, diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index bc6ab23b3..98120a220 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c @@ -897,7 +897,7 @@ write_stats (void) if (NULL == benchmark_dir) return; GNUNET_asprintf (&s, - "%s/taler-exchange-%llu-%llu.txt", + "%s/taler-exchange-%llu.txt", benchmark_dir, (unsigned long long) pid); fh = GNUNET_DISK_file_open (s, |