cast lenght specifiers to int.

2005-01-11  Not Zed  <NotZed@Ximian.com>

        * filter-part.c (filter_part_expand_code): cast lenght specifiers
        to int.

svn path=/trunk/; revision=28372
This commit is contained in:
Not Zed
2005-01-12 08:40:22 +00:00
committed by Michael Zucci
parent 41f992cc22
commit 7b7c24f6b0
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-01-11 Not Zed <NotZed@Ximian.com>
* filter-part.c (filter_part_expand_code): cast lenght specifiers
to int.
2004-12-02 Diego Sevilla Ruiz <dsevilla@dsevilla>
* filter.glade: Added label "Show filters for mail:".

View File

@ -489,7 +489,7 @@ filter_part_expand_code (FilterPart *ff, const char *source, GString *out)
fe = filter_part_find_element (ff, name);
d(printf("expand code: looking up variab le '%s' = %p\n", ff, name, fe));
if (fe) {
g_string_append_printf (out, "%.*s", newstart-start, start);
g_string_append_printf (out, "%.*s", (int)(newstart-start), start);
filter_element_format_sexp (fe, out);
#if 0
} else if ((val = g_hash_table_lookup (ff->globals, name))) {
@ -497,7 +497,7 @@ filter_part_expand_code (FilterPart *ff, const char *source, GString *out)
e_sexp_encode_string (out, val);
#endif
} else {
g_string_append_printf (out, "%.*s", end-start+1, start);
g_string_append_printf (out, "%.*s", (int)(end-start+1), start);
}
start = end + 1;
}