* warning fix
authortwisti <none@none>
Tue, 14 Jun 2005 18:11:35 +0000 (18:11 +0000)
committertwisti <none@none>
Tue, 14 Jun 2005 18:11:35 +0000 (18:11 +0000)
src/vm/linker.c

index 76f26a2cb70c9b766d924d8a4a830bdfc20186e9..80082f836d42e6bb4408c670aa09c15b54d5db70 100644 (file)
@@ -32,7 +32,7 @@
             Edwin Steiner
             Christian Thalinger
 
-   $Id: linker.c 2680 2005-06-14 17:14:08Z twisti $
+   $Id: linker.c 2692 2005-06-14 18:11:35Z twisti $
 
 */
 
@@ -734,7 +734,7 @@ static classinfo *link_class_intern(classinfo *c)
                }
 
                if (!(m->flags & ACC_STATIC))
-                       v->table[m->vftblindex] = m->stubroutine;
+                       v->table[m->vftblindex] = (methodptr) m->stubroutine;
        }
 
        /* compute instance size and offset of each field */