diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-12-13 13:41:56 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-12-13 13:41:56 +0000 |
commit | 338e23cc1c4e5eadb56eb25a8304a608aedad108 (patch) | |
tree | af8219830b122a96dc87dcef91ab8c77210deb8e | |
parent | 626edf78036a441df671a3082048b659b8739f7a (diff) |
-use unsigned
-rw-r--r-- | src/include/gnunet_regex_lib.h | 2 | ||||
-rw-r--r-- | src/regex/regex.c | 2 |
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; |