From f1d5be8c05ae4207596b9b8b6ef552b3df8dffc7 Mon Sep 17 00:00:00 2001 From: Julius Bünger Date: Wed, 11 Apr 2018 14:47:23 +0200 Subject: rps profiler: fix debug output --- src/rps/test_rps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rps/test_rps.c b/src/rps/test_rps.c index fa2ffd9eb..9ccf3e61c 100644 --- a/src/rps/test_rps.c +++ b/src/rps/test_rps.c @@ -1999,7 +1999,7 @@ static void compute_probabilities (uint32_t peer_idx) i, prob_push); GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "\t\tposs choices from view: %f, containing i: %f\n", + "\t\tposs choices from view: %" PRIu32 ", containing i: %" PRIu32 "\n", binom (view_size, 0.45 * view_size), binom (0.45 * view_size, 1)); } else { -- cgit v1.2.3