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:
@ -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:".
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user