Fix signedness to keep compiler happy
authorJulius Bünger <buenger@mytum.de>
Thu, 6 Sep 2018 01:20:07 +0000 (03:20 +0200)
committerJulius Bünger <buenger@mytum.de>
Thu, 6 Sep 2018 01:20:55 +0000 (03:20 +0200)
src/rps/rps-test_util.c

index 1a2db142731144e22d9bbf1562a911cd00b29ec8..ef39638bf1a1a3f8d117c9f8ba72f73c401bc588 100644 (file)
@@ -65,7 +65,7 @@ to_file_ (const char *file_name, char *line)
   char *output_buffer_p;
   //size_t size;
   int size;
-  size_t size2;
+  int size2;
 
 
   if (NULL == (f = GNUNET_DISK_file_open (file_name,
@@ -458,7 +458,7 @@ const char *
 store_prefix_file_name (const struct GNUNET_PeerIdentity *peer,
     const char *prefix)
 {
-  unsigned int len_file_name;
+  int len_file_name;
   int out_size;
   char *file_name;
   const char *pid_long;