diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-01-13 02:19:29 +0000 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-01-13 02:19:29 +0000 |
commit | 7a5280b96b1028617794af8ffbab8df4fbb1d6d5 (patch) | |
tree | bb1813aca21d9ab39ea416b30b14af98dd1b9d0d /includes | |
parent | 08d21a052b9afc37292ec3fad390502610e2cb32 (diff) | |
download | MWCC-7a5280b96b1028617794af8ffbab8df4fbb1d6d5.tar.gz MWCC-7a5280b96b1028617794af8ffbab8df4fbb1d6d5.zip |
more fixes
Diffstat (limited to 'includes')
-rw-r--r-- | includes/compiler/PCode.h | 4 |
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, |