aboutsummaryrefslogtreecommitdiff
path: root/target-arm/op_addsub.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-arm/op_addsub.h')
-rw-r--r--target-arm/op_addsub.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/target-arm/op_addsub.h b/target-arm/op_addsub.h
index 376ee27..29f77ba 100644
--- a/target-arm/op_addsub.h
+++ b/target-arm/op_addsub.h
@@ -8,9 +8,9 @@
*/
#ifdef ARITH_GE
-#define GE_ARG , uint32_t *gep
+#define GE_ARG , void *gep
#define DECLARE_GE uint32_t ge = 0
-#define SET_GE *gep = ge
+#define SET_GE *(uint32_t *)gep = ge
#else
#define GE_ARG
#define DECLARE_GE do{}while(0)