summaryrefslogtreecommitdiff
path: root/tests/test0-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test0-main.c')
-rw-r--r--tests/test0-main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test0-main.c b/tests/test0-main.c
index a991abf..d1fd584 100644
--- a/tests/test0-main.c
+++ b/tests/test0-main.c
@@ -145,7 +145,7 @@ test_cr_input_read_byte (guchar * a_file_uri)
g_return_val_if_fail (a_file_uri, CR_BAD_PARAM_ERROR);
- input = cr_input_new_from_uri (a_file_uri, CR_UTF_8);
+ input = cr_input_new_from_uri ((const gchar *) a_file_uri, CR_UTF_8);
if (!input) {
cr_utils_trace_debug ("Input Stream creation failed.");
@@ -197,7 +197,7 @@ main (int argc, char **argv)
return 0;
}
- test_cr_input_read_byte (options.files_list[0]);
+ test_cr_input_read_byte ((guchar *) options.files_list[0]);
return 0;
}