gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: -fix compiler warnings


From: gnunet
Subject: [gnunet] branch master updated: -fix compiler warnings
Date: Thu, 29 Apr 2021 00:58:13 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new ca3ebf1e5 -fix compiler warnings
ca3ebf1e5 is described below

commit ca3ebf1e59eb00ad101ba8b26e5185db4d785610
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Apr 29 00:55:30 2021 +0200

    -fix compiler warnings
---
 src/regex/gnunet-regex-profiler.c | 4 +++-
 src/regex/regex_test_lib.c        | 4 ++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/regex/gnunet-regex-profiler.c 
b/src/regex/gnunet-regex-profiler.c
index 90e06cf5f..bd223ae8e 100644
--- a/src/regex/gnunet-regex-profiler.c
+++ b/src/regex/gnunet-regex-profiler.c
@@ -570,7 +570,9 @@ stats_iterator (void *cls,
                      sizeof(output_buffer),
                      "%p [%s] %llu %s\n",
                      peer,
-                     subsystem, value, name);
+                     subsystem,
+                     (unsigned long long) value,
+                     name);
   if (size != GNUNET_DISK_file_write (data_file, output_buffer, size))
     GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
                 "Unable to write to file!\n");
diff --git a/src/regex/regex_test_lib.c b/src/regex/regex_test_lib.c
index f8d3f993f..2fece6bff 100644
--- a/src/regex/regex_test_lib.c
+++ b/src/regex/regex_test_lib.c
@@ -93,6 +93,7 @@ c2i (char c, int size)
 }
 
 
+#if DEBUG_REGEX
 /**
  * Printf spaces to indent the regex tree
  *
@@ -106,6 +107,9 @@ space (int n)
 }
 
 
+#endif
+
+
 /**
  * Printf the combined regex ctx.
  *

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]