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:
Slava Zanko 2009-07-16 13:25:26 +03:00
parent f67fcfb94f
commit f114fd4135

View File

@ -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) {