* BaseHttpServlet.cs: fixed service, should not update context in AppDomain on every...
[mono.git] / mono / dis / dis-cil.c
index ffbea9c4066b9438042842151491399ece6f8338..dbd3b417405cd5f4c9bd820f940380df49faefdf 100644 (file)
@@ -219,7 +219,7 @@ disassemble_cil (MonoImage *m, MonoMethodHeader *mh, MonoGenericContainer *conta
                        const char *us_ptr = mono_metadata_user_string (m, token & 0xffffff);
                        int len = mono_metadata_decode_blob_size (us_ptr, (const char**)&us_ptr);
 
-                       char *s = get_encoded_user_string_or_bytearray (us_ptr, len);
+                       char *s = get_encoded_user_string_or_bytearray ((const guchar*)us_ptr, len);
                        
                        /*
                         * See section 23.1.4 on the encoding of the #US heap