diff options
author | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-12-13 13:40:57 +0000 |
---|---|---|
committer | grothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-12-13 13:40:57 +0000 |
commit | 3cecd9b1186bac4879b4f0678d9b333ba51f58d7 (patch) | |
tree | 948dbdc71cf487c00c32b7fdf66b424540cbb8bc /src/regex | |
parent | 8bd0ae51f6d7cdfe9ff924a03dc87b934bc18bc0 (diff) |
-pass NULL instead of 0
git-svn-id: https://gnunet.org/svn/gnunet@25447 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/regex')
-rw-r--r-- | src/regex/regex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regex/regex.c b/src/regex/regex.c index 703afc201a..258795c838 100644 --- a/src/regex/regex.c +++ b/src/regex/regex.c @@ -2526,7 +2526,7 @@ construct_dfa_states (struct GNUNET_REGEX_Context *ctx, continue; tmp = nfa_closure_set_create (nfa, dfa_state->nfa_set, ctran->label); - nfa_set = nfa_closure_set_create (nfa, tmp, 0); + nfa_set = nfa_closure_set_create (nfa, tmp, NULL); state_set_clear (tmp); new_dfa_state = dfa_state_create (ctx, nfa_set); state_contains = NULL; @@ -2595,7 +2595,7 @@ GNUNET_REGEX_construct_dfa (const char *regex, const size_t len, dfa->regex = GNUNET_strdup (regex); /* Create DFA start state from epsilon closure */ - nfa_start_eps_cls = nfa_closure_create (nfa, nfa->start, 0); + nfa_start_eps_cls = nfa_closure_create (nfa, nfa->start, NULL); dfa->start = dfa_state_create (&ctx, nfa_start_eps_cls); automaton_add_state (dfa, dfa->start); |