rps profiler: fix debug output
authorJulius Bünger <buenger@mytum.de>
Wed, 11 Apr 2018 12:47:23 +0000 (14:47 +0200)
committerJulius Bünger <buenger@mytum.de>
Wed, 11 Apr 2018 12:47:23 +0000 (14:47 +0200)
src/rps/test_rps.c

index fa2ffd9eb55743d7a4eb1697201c42e63e0c25ee..9ccf3e61ce3538c196826d5633474eb7c23a0a6c 100644 (file)
@@ -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 {