From 6e489113f724f19d683963be0382d61291a5bef9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 25 Dec 2019 13:46:36 +0100 Subject: [PATCH] use unsigned --- src/transport/test_communicator_basic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/transport/test_communicator_basic.c b/src/transport/test_communicator_basic.c index a17767d07..0bca5f695 100644 --- a/src/transport/test_communicator_basic.c +++ b/src/transport/test_communicator_basic.c @@ -484,8 +484,8 @@ main (int argc, struct GNUNET_CRYPTO_EddsaPrivateKey *private_key; char *communicator_name; char *cfg_peer; - ret = 1; + ret = 1; communicator_name = GNUNET_TESTING_get_testname_from_underscore (argv[0]); GNUNET_asprintf (&communicator_binary, "gnunet-communicator-%s", communicator_name); @@ -497,7 +497,7 @@ main (int argc, GNUNET_break (0); return 2; } - for (int i = 0; i < NUM_PEERS; i++) + for (unsigned int i = 0; i < NUM_PEERS; i++) { GNUNET_asprintf ((&cfg_peer), "test_communicator_%s_peer%u.conf", -- 2.25.1