summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-13 02:19:29 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-13 02:19:29 +0000
commit7a5280b96b1028617794af8ffbab8df4fbb1d6d5 (patch)
treebb1813aca21d9ab39ea416b30b14af98dd1b9d0d /includes
parent08d21a052b9afc37292ec3fad390502610e2cb32 (diff)
downloadMWCC-7a5280b96b1028617794af8ffbab8df4fbb1d6d5.tar.gz
MWCC-7a5280b96b1028617794af8ffbab8df4fbb1d6d5.zip
more fixes
Diffstat (limited to 'includes')
-rw-r--r--includes/compiler/PCode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/compiler/PCode.h b/includes/compiler/PCode.h
index 97f652d..d914748 100644
--- a/includes/compiler/PCode.h
+++ b/includes/compiler/PCode.h
@@ -11,8 +11,8 @@
#define FLAG_SET_T(flags) (((flags) & (fIsBranch | fIsCall)) ? (flags) : 0)
#define FLAG_SET_F(flags) (((flags) & (fIsBranch | fIsCall)) ? 0 : (flags))
-#define PCODE_FLAG_SET_T(pcode) (((pcode)->flags & (fIsBranch | fIsCall)) ? (pcode)->flags : 0)
-#define PCODE_FLAG_SET_F(pcode) (((pcode)->flags & (fIsBranch | fIsCall)) ? 0 : (pcode)->flags)
+#define PCODE_FLAG_SET_T(pcode) ((((PCode *) (pcode))->flags & (fIsBranch | fIsCall)) ? ((PCode *) (pcode))->flags : 0)
+#define PCODE_FLAG_SET_F(pcode) ((((PCode *) (pcode))->flags & (fIsBranch | fIsCall)) ? 0 : ((PCode *) (pcode))->flags)
enum {
EffectRead = 1,