Commit 5cd8a118 authored by Alexey Kardashevskiy's avatar Alexey Kardashevskiy Committed by Peter Maydell
Browse files

arm: fix compile on bigendian host

parent eedc1a5d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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