aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/gnunet_regex_lib.h2
-rw-r--r--src/regex/regex.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gnunet_regex_lib.h b/src/include/gnunet_regex_lib.h
index e7c525304d..73fa4661f5 100644
--- a/src/include/gnunet_regex_lib.h
+++ b/src/include/gnunet_regex_lib.h
@@ -98,7 +98,7 @@ struct GNUNET_REGEX_Edge
*/
struct GNUNET_REGEX_Automaton *
GNUNET_REGEX_construct_dfa (const char *regex, const size_t len,
- int max_path_len);
+ unsigned int max_path_len);
/**
diff --git a/src/regex/regex.c b/src/regex/regex.c
index 258795c838..6c8c812b0a 100644
--- a/src/regex/regex.c
+++ b/src/regex/regex.c
@@ -2571,7 +2571,7 @@ construct_dfa_states (struct GNUNET_REGEX_Context *ctx,
*/
struct GNUNET_REGEX_Automaton *
GNUNET_REGEX_construct_dfa (const char *regex, const size_t len,
- int max_path_len)
+ unsigned int max_path_len)
{
struct GNUNET_REGEX_Context ctx;
struct GNUNET_REGEX_Automaton *dfa;