diff options
Diffstat (limited to 'Utilities/cmlibarchive/libarchive/xxhash.c')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/xxhash.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Utilities/cmlibarchive/libarchive/xxhash.c b/Utilities/cmlibarchive/libarchive/xxhash.c index f96e9d934..70750bae0 100644 --- a/Utilities/cmlibarchive/libarchive/xxhash.c +++ b/Utilities/cmlibarchive/libarchive/xxhash.c @@ -150,11 +150,7 @@ typedef struct _U32_S { U32 v; } _PACKED U32_S; #if GCC_VERSION >= 409 __attribute__((__no_sanitize_undefined__)) #endif -#if defined(_MSC_VER) -static __inline U32 A32(const void * x) -#else -static inline U32 A32(const void* x) -#endif +static inline U32 A32(const void * x) { return (((const U32_S *)(x))->v); } |