aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-code.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 22:29:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-27 22:29:19 +0800
commit948235c3d1076dbe6ed2e57a24c16a083bbd9f01 (patch)
tree4133b1adfd94d8f889ca7ad4ad851346518f4171 /filter/filter-code.c
parentcc3a98fc1ad5bb87aa7335f3de404ee7feee1541 (diff)
downloadgsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.gz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.zst
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'filter/filter-code.c')
-rw-r--r--filter/filter-code.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/filter-code.c b/filter/filter-code.c
index fb0880b260..c0f0420d19 100644
--- a/filter/filter-code.c
+++ b/filter/filter-code.c
@@ -80,7 +80,7 @@ filter_code_class_init (FilterCodeClass *klass)
static void
filter_code_init (FilterCode *fc)
{
- ((FilterInput *) fc)->type = (char *)xmlStrdup ((const unsigned char *)"code");
+ ((FilterInput *) fc)->type = (gchar *)xmlStrdup ((const guchar *)"code");
}
static void
@@ -104,7 +104,7 @@ filter_code_new (gboolean raw_code)
if (fc && raw_code) {
xmlFree (((FilterInput *) fc)->type);
- ((FilterInput *) fc)->type = (char *)xmlStrdup ((const unsigned char *)"rawcode");
+ ((FilterInput *) fc)->type = (gchar *)xmlStrdup ((const guchar *)"rawcode");
}
return fc;
@@ -123,7 +123,7 @@ build_code (FilterElement *fe, GString *out, struct _FilterPart *ff)
l = fi->values;
while (l) {
- g_string_append(out, (char *)l->data);
+ g_string_append(out, (gchar *)l->data);
l = g_list_next(l);
}