mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
Avoid warning in src/search/regex.c about signed and unsigned types
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
f67fcfb94f
commit
f114fd4135
@ -428,7 +428,7 @@ mc_search_regex__process_append_str (GString * dest_str, const char *from, gsize
|
|||||||
char *tmp_str;
|
char *tmp_str;
|
||||||
GString *tmp_string;
|
GString *tmp_string;
|
||||||
|
|
||||||
if (len == -1)
|
if (len == (gsize) -1)
|
||||||
len = strlen (from);
|
len = strlen (from);
|
||||||
|
|
||||||
if (*replace_flags == REPLACE_T_NO_TRANSFORM) {
|
if (*replace_flags == REPLACE_T_NO_TRANSFORM) {
|
||||||
|
Loading…
Reference in New Issue
Block a user