--- libcroco-0.6.8/tests/test0-main.c.orig	2009-05-07 10:16:28.000000000 +0000
+++ libcroco-0.6.8/tests/test0-main.c	2013-10-14 05:22:09.721811400 +0000
@@ -145,7 +145,7 @@
 
         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 @@
                 return 0;
         }
 
-        test_cr_input_read_byte (options.files_list[0]);
+        test_cr_input_read_byte ((guchar *) options.files_list[0]);
 
         return 0;
 }
