Skip to content

Commit

Permalink
Change char * -> const char * in call to `rz_regex_match_all_not_…
Browse files Browse the repository at this point in the history
…grouped()`

Co-authored-by: Rot127 <[email protected]>
  • Loading branch information
kazarmy and Rot127 authored Feb 3, 2025
1 parent d8b70b4 commit 5c4a87e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion librz/search/regexp.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RZ_API int rz_search_regexp_update(RzSearch *s, ut64 from, const ut8 *buf, int l
return -1;
}

matches = rz_regex_match_all_not_grouped(compiled, (char *)buf, len, 0, RZ_REGEX_DEFAULT);
matches = rz_regex_match_all_not_grouped(compiled, (const char *)buf, len, 0, RZ_REGEX_DEFAULT);
void **it;
rz_pvector_foreach (matches, it) {
RzRegexMatch *m = *it;
Expand Down

0 comments on commit 5c4a87e

Please sign in to comment.