* Removed all Id tags.
[cacao.git] / src / vm / jit / mips / patcher.c
index b620f8000f1f3cf87f96c56b3af17f6704bf0a0a..703ee87695d84a25916d608eb541315712b6d1aa 100644 (file)
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
 
-   $Id: patcher.c 8264 2007-08-06 16:02:28Z twisti $
-
 */
 
 
 #include "config.h"
 
 #include <assert.h>
+#include <stdint.h>
 
 #include "vm/types.h"
 
@@ -150,7 +149,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;
 
        /* synchronize data cache */