* method_free: Warning fix.
authortwisti <none@none>
Wed, 12 Oct 2005 12:54:02 +0000 (12:54 +0000)
committertwisti <none@none>
Wed, 12 Oct 2005 12:54:02 +0000 (12:54 +0000)
src/vm/method.c

index 89c3c843c6e12c453fa55ec14ec8c475bc9ef752..80f481edd11c77bf95b7c35c03c5a66df950b847 100644 (file)
@@ -32,7 +32,7 @@
             Edwin Steiner
             Christian Thalinger
 
-   $Id: method.c 2186 2005-04-02 00:43:25Z edwin $
+   $Id: method.c 3412 2005-10-12 12:54:02Z twisti $
 
 */
 
@@ -60,7 +60,7 @@ void method_free(methodinfo *m)
                MFREE(m->exceptiontable, exceptiontable, m->exceptiontablelength);
 
        if (m->mcode)
-               CFREE(m->mcode, m->mcodelength);
+               CFREE((void *) (ptrint) m->mcode, m->mcodelength);
 
        if (m->stubroutine) {
                if (m->flags & ACC_NATIVE) {