Author: lupus
Date: 2005-07-07 10:39:53 -0400 (Thu, 07 Jul 2005)
New Revision: 47038

Modified:
   trunk/mono/mono/mini/aot.c
Log:
Compilation fix.


Modified: trunk/mono/mono/mini/aot.c
===================================================================
--- trunk/mono/mono/mini/aot.c  2005-07-07 14:21:42 UTC (rev 47037)
+++ trunk/mono/mono/mini/aot.c  2005-07-07 14:39:53 UTC (rev 47038)
@@ -1219,7 +1219,7 @@
 #else
                if (use_loaded_code)
                        /* disable write protection */
-                       make_writable (code, code_len);
+                       make_writable (code, jinfo->code_size);
 
                /* Do this outside the lock to avoid deadlocks */
                LeaveCriticalSection (&aot_mutex);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to