Merge pull request #2338 from BogdanovKirill/httpwritefix3
[mono.git] / mono / dis / dis-cil.c
index 79f68fb8b24db80ffa61417741c6cabc999e1efb..bc40414ba48f77883ff9131dc48957191e247403 100755 (executable)
@@ -56,7 +56,7 @@ disassemble_cil (MonoImage *m, MonoMethodHeader *mh, MonoGenericContainer *conta
 #endif
 
        if (mh->num_clauses) {
-              trys = g_malloc0 (sizeof (gboolean) * mh->num_clauses);
+              trys = (gboolean *)g_malloc0 (sizeof (gboolean) * mh->num_clauses);
               trys [0] = 1;
               for (i=1; i < mh->num_clauses; ++i) {
 #define jcl mh->clauses [j]