* debug-mono-symfile.c: fix one more endianess issue, from a patch
by Geoff Norton (<gnorton@customerdna.com>).
svn path=/trunk/mono/; revision=31514
+Tue Jul 27 15:58:19 CEST 2004 Paolo Molaro <lupus@ximian.com>
+
+ * debug-mono-symfile.c: fix one more endianess issue, from a patch
+ by Geoff Norton (<gnorton@customerdna.com>).
+
Tue Jul 27 15:47:17 CEST 2004 Paolo Molaro <lupus@ximian.com>
* class.c: fix class loads for pointer types (typeof(int) !=
static gchar *
read_string (const char *ptr)
{
- int len = *((guint32 *) ptr);
+ int len = read32 (ptr);
ptr += sizeof(guint32);
return g_filename_from_utf8 (ptr, len, NULL, NULL, NULL);
}