diff options
Diffstat (limited to 'zix')
-rw-r--r-- | zix/strindex.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zix/strindex.c b/zix/strindex.c index fffc94f..103ea50 100644 --- a/zix/strindex.c +++ b/zix/strindex.c @@ -193,8 +193,10 @@ strindex_insert(ZixStrindexNode* n, char* suffix_first, char* first, char* last) ZIX_API ZixStatus -zix_strindex_find(ZixStrindex* strindex, const char* p, char** match) +zix_strindex_find(ZixStrindex* strindex, const char* const str, char** match) { + const char* p = str; + #ifndef NDEBUG const char* orig_p = p; #endif |