exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 4fe3e8b23bfccd0d0d1efdd8513059470bc4977d
parent 1ebfcf6b79a1a719ba12ac1788e69e581364a9b7
Author: Florian Dold <dold@taler.net>
Date:   Tue, 28 Jul 2026 16:13:16 +0200

benchmark: drop non-standard 'd' suffix on floating constants

C has no 'd' floating-point suffix; gcc accepts it silently but clang
rejects it, breaking the build on FreeBSD.

Issue: https://bugs.taler.net/n/11662

Diffstat:
Msrc/benchmark/taler-exchange-benchmark.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c @@ -295,7 +295,7 @@ run (void *cls, GNUNET_TIME_UNIT_ZERO, amount_1, MHD_HTTP_OK)); - if (eval_probability (refresh_rate / 100.0d)) + if (eval_probability (refresh_rate / 100.0)) { char *melt_label; char *reveal_label; @@ -627,7 +627,7 @@ main (int argc, " * Reserve=%u * Parallel=%u, operations in %s\n", howmany_coins, howmany_coins, - howmany_coins * (refresh_rate / 100.0d), + howmany_coins * (refresh_rate / 100.0), howmany_reserves, howmany_clients, GNUNET_STRINGS_relative_time_to_string (