--- libcroco-0.6.8/tests/test6-main.c.orig	2009-05-07 10:16:28.000000000 +0000
+++ libcroco-0.6.8/tests/test6-main.c	2013-10-14 05:42:29.425694100 +0000
@@ -31,7 +31,7 @@
 #include "cr-test-utils.h"
 
 const guchar *gv_cssbuf =
-        ".str0 {stroke:#007844;stroke-width:44}" ".fil0 {fill:url(#id0)}";
+        (const guchar *) ".str0 {stroke:#007844;stroke-width:44}" ".fil0 {fill:url(#id0)}";
 
 static enum CRStatus
   test_cr_parser_parse (void);
@@ -54,7 +54,7 @@
 
         parser = cr_om_parser_new (NULL);
         status = cr_om_parser_parse_buf (parser, (guchar *) gv_cssbuf,
-                                         strlen (gv_cssbuf),
+                                         strlen ((const char *) gv_cssbuf),
                                          CR_ASCII, &stylesheet);
 
         if (status == CR_OK && stylesheet) {
