summaryrefslogtreecommitdiff
path: root/tests/test5-main.c
diff options
context:
space:
mode:
authorРуслан Ижбулатов <lrn1986@gmail.com>2014-08-05 08:17:17 +0000
committerРуслан Ижбулатов <lrn1986@gmail.com>2014-08-05 11:57:59 +0000
commitd27114ca3442cffda04950b054d74f0f6cb19130 (patch)
treedd79c02f0df4a12c2c809d55248276f67474f78b /tests/test5-main.c
parenta7df9d26a96bb48ccff06f4543c134e545b90c40 (diff)
downloadlibcroco-d27114ca3442cffda04950b054d74f0f6cb19130.tar.gz
gchar/guchar types and casting
https://bugzilla.gnome.org/show_bug.cgi?id=710076
Diffstat (limited to 'tests/test5-main.c')
-rw-r--r--tests/test5-main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test5-main.c b/tests/test5-main.c
index 034da23..2b7c9c7 100644
--- a/tests/test5-main.c
+++ b/tests/test5-main.c
@@ -32,7 +32,7 @@
CRDocHandler *gv_test_handler = { 0 };
const guchar *xml_content =
- "<document>"
+ (const guchar *) "<document>"
"<E0>text0</E0> "
"<E1><E1-1>text1</E1-1></E1>"
"<E2 attr2=\"val2\">text2</E2>"
@@ -242,7 +242,7 @@ main (int argc, char **argv)
return 0;
}
- status = test_sel_eng (options.files_list[0]);
+ status = test_sel_eng ((guchar *) options.files_list[0]);
if (status != CR_OK) {
g_print ("\nKO\n");