* Removed all Id tags.
[cacao.git] / src / vm / jit / s390 / patcher.c
index 612e007b5172d91b46ef4a5d84442441c9c91ae7..78c9b1797774239993890e7a15dd821e7b926a13 100644 (file)
 
    Changes: Peter Molnar
 
-   $Id: patcher.c 8251 2007-08-01 15:26:59Z pm $
-
 */
 
 
 #include "config.h"
 
 #include <assert.h>
+#include <stdint.h>
 
 #include "mm/memory.h"
 #include "native/native.h"
@@ -92,7 +91,7 @@ bool patcher_get_putstatic(patchref_t *pr)
 
        /* patch the field value's address */
 
-       *((ptrint *) datap) = (ptrint) &(fi->value);
+       *((intptr_t *) datap) = (intptr_t) fi->value;
 
        return true;
 }