diff options
author | David Robillard <d@drobilla.net> | 2020-08-13 17:25:53 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-13 17:25:53 +0200 |
commit | 741ea228737d4bc81e56312106702196b1fe5219 (patch) | |
tree | 671b12ba69949c39bdb66b070e1bbb2ba943b239 /zix | |
parent | a05b4c9bedfe99815eb887903e7687fe2d1bb3f9 (diff) | |
download | zix-741ea228737d4bc81e56312106702196b1fe5219.tar.gz zix-741ea228737d4bc81e56312106702196b1fe5219.tar.bz2 zix-741ea228737d4bc81e56312106702196b1fe5219.zip |
Fix mismatched parameter name
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 |