[aot] Fix the linux bitcode build.
[mono.git] / mono / mini / graph.c
index fed9002320487da1e5088867e4905881ca99a3f9..08d2891f87c239c138f3d1e48284f3f8c8399aef 100644 (file)
@@ -20,7 +20,7 @@ static char *
 convert_name (const char *str)
 {
        int i, j, len = strlen (str);
-       char *res = g_malloc (len * 2);
+       char *res = (char *)g_malloc (len * 2);
 
        j = 0;
        for (i = 0; i < len; i++) {