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"
/* patch the field value's address */
- *((ptrint *) datap) = (ptrint) &(fi->value);
+ *((intptr_t *) datap) = (intptr_t) fi->value;
return true;
}