diff options
-rw-r--r-- | target-arm/cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/cpu.h b/target-arm/cpu.h index f1307eb488..198b6b8d4e 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -73,7 +73,7 @@ * significant half of a uint64_t struct member. */ #ifdef HOST_WORDS_BIGENDIAN -#define offsetoflow32(S, M) offsetof(S, M + sizeof(uint32_t)) +#define offsetoflow32(S, M) (offsetof(S, M) + sizeof(uint32_t)) #else #define offsetoflow32(S, M) offsetof(S, M) #endif |