use unsigned
authorChristian Grothoff <christian@grothoff.org>
Wed, 25 Dec 2019 12:46:36 +0000 (13:46 +0100)
committerChristian Grothoff <christian@grothoff.org>
Wed, 25 Dec 2019 12:46:36 +0000 (13:46 +0100)
src/transport/test_communicator_basic.c

index a17767d07dfdbcf08f273852b8c963671cacc75b..0bca5f695462853272d76cc41744c97fdfeea748 100644 (file)
@@ -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",