From 741ea228737d4bc81e56312106702196b1fe5219 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 13 Aug 2020 17:25:53 +0200 Subject: Fix mismatched parameter name --- zix/strindex.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'zix/strindex.c') 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 -- cgit v1.2.1