* codegen_createnativestub: Compiler warning fix.
authortwisti <none@none>
Fri, 16 Sep 2005 12:15:38 +0000 (12:15 +0000)
committertwisti <none@none>
Fri, 16 Sep 2005 12:15:38 +0000 (12:15 +0000)
src/vm/jit/codegen.inc

index bd524ea3bf1dfe0abbcf7806f471caf71d6b1168..6bf0abf1cfe58a7682411fa7e4407e7976bb2930 100644 (file)
@@ -47,7 +47,7 @@
    memory. All functions writing values into the data area return the offset
    relative the begin of the code area (start of procedure).   
 
-   $Id: codegen.inc 3177 2005-09-14 18:03:11Z twisti $
+   $Id: codegen.inc 3192 2005-09-16 12:15:38Z twisti $
 
 */
 
@@ -963,8 +963,8 @@ functionptr codegen_createnativestub(functionptr f, methodinfo *m)
 
        if (opt_shownativestub) {
                codegen_disassemble_nativestub(m,
-                                                                          (u1 *) m->entrypoint,
-                                                                          (u1 *) m->entrypoint + (m->mcodelength - cd->dseglen));
+                                                                          (u1 *) (ptrint) m->entrypoint,
+                                                                          (u1 *) (ptrint) m->entrypoint + (m->mcodelength - cd->dseglen));
 
                /* show data segment */