aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'filter/filter-file.c')
-rw-r--r--filter/filter-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/filter-file.c b/filter/filter-file.c
index 4126c4b937..e43a02b2ef 100644
--- a/filter/filter-file.c
+++ b/filter/filter-file.c
@@ -208,7 +208,7 @@ xml_encode (FilterElement *fe)
{
FilterFile *file = (FilterFile *) fe;
xmlNodePtr cur, value;
- char *type;
+ const gchar *type;
type = file->type ? file->type : "file";