projects
/
cacao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Removed all Id tags.
[cacao.git]
/
src
/
vm
/
jit
/
s390
/
patcher.c
diff --git
a/src/vm/jit/s390/patcher.c
b/src/vm/jit/s390/patcher.c
index 612e007b5172d91b46ef4a5d84442441c9c91ae7..78c9b1797774239993890e7a15dd821e7b926a13 100644
(file)
--- a/
src/vm/jit/s390/patcher.c
+++ b/
src/vm/jit/s390/patcher.c
@@
-28,14
+28,13
@@
Changes: Peter Molnar
Changes: Peter Molnar
- $Id: patcher.c 8251 2007-08-01 15:26:59Z pm $
-
*/
#include "config.h"
#include <assert.h>
*/
#include "config.h"
#include <assert.h>
+#include <stdint.h>
#include "mm/memory.h"
#include "native/native.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 */
/* patch the field value's address */
- *((
ptrint *) datap) = (ptrint) &(fi->value)
;
+ *((
intptr_t *) datap) = (intptr_t) fi->value
;
return true;
}
return true;
}