* Removed all Id tags.
[cacao.git] / src / vm / jit / m68k / patcher.c
index f7923e3fa3f267dcffc106602e1d7789fd05e4ec..7ae6ca2cf9446d349045bdf42417661f8d923cd3 100644 (file)
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
 
-   $Id: arch.h 5330 2006-09-05 18:43:12Z edwin $
-
 */
 
 #include "config.h"
 
 #include <assert.h>
+#include <stdint.h>
 
 #include "vm/types.h"
 
@@ -348,7 +347,7 @@ bool patcher_get_putstatic(u1 *sp)
        /* patch the field value's address */
        if (opt_shownops) disp += PATCHER_CALL_SIZE;
        assert(*((uint16_t*)(disp)) == 0x247c);
-       *((ptrint *) (disp+2)) = (ptrint) &(fi->value);
+       *((intptr_t *) (disp+2)) = (intptr_t) fi->value;
 
        /* synchronize inst cache */
        md_icacheflush(disp+2, SIZEOF_VOID_P);