diff options
author | Руслан Ижбулатов <lrn1986@gmail.com> | 2014-08-05 08:17:17 +0000 |
---|---|---|
committer | Руслан Ижбулатов <lrn1986@gmail.com> | 2014-08-05 11:57:59 +0000 |
commit | d27114ca3442cffda04950b054d74f0f6cb19130 (patch) | |
tree | dd79c02f0df4a12c2c809d55248276f67474f78b /tests/test0-main.c | |
parent | a7df9d26a96bb48ccff06f4543c134e545b90c40 (diff) | |
download | libcroco-d27114ca3442cffda04950b054d74f0f6cb19130.tar.gz |
gchar/guchar types and casting
https://bugzilla.gnome.org/show_bug.cgi?id=710076
Diffstat (limited to 'tests/test0-main.c')
-rw-r--r-- | tests/test0-main.c | 4 |
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; } |