commit ca3ebf1e59eb00ad101ba8b26e5185db4d785610
parent 919fd2f427e1a7dda53cd868804d03a61fb0aa87
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 29 Apr 2021 00:55:30 +0200
-fix compiler warnings
Diffstat:
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git 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
@@ -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.
*