diff options
Diffstat (limited to 'filter/e-filter-int.c')
-rw-r--r-- | filter/e-filter-int.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/e-filter-int.c b/filter/e-filter-int.c index d82b36efda..dcb9b18fba 100644 --- a/filter/e-filter-int.c +++ b/filter/e-filter-int.c @@ -101,7 +101,7 @@ filter_int_xml_encode (EFilterElement *element) xmlSetProp (value, (xmlChar *) "type", (xmlChar *) type); sprintf (intval, "%d", filter_int->val); - xmlSetProp (value, (xmlChar *)type, (xmlChar *)intval); + xmlSetProp (value, (xmlChar *) type, (xmlChar *) intval); return value; } @@ -123,7 +123,7 @@ filter_int_xml_decode (EFilterElement *element, filter_int->type = g_strdup (type); xmlFree (type); - intval = (gchar *)xmlGetProp ( + intval = (gchar *) xmlGetProp ( node, (xmlChar *) (filter_int->type ? filter_int->type : "integer")); if (intval) { |