Merge pull request #615 from jpcima/fix

Allow the build to pass in some Linux x86
This commit is contained in:
JP Cimalando 2021-02-01 17:12:44 +01:00 committed by GitHub
commit c03f39d526
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,11 +10,11 @@
#include <type_traits>
#include <cstring>
#ifdef __cplusplus
// ensure that `sfizz_arg_t` has the same storage characteristics as `int64_t`
static_assert(
sizeof(sfizz_arg_t) == sizeof(int64_t) && alignof(sfizz_arg_t) == 8,
sizeof(sfizz_arg_t) == sizeof(int64_t) &&
alignof(sfizz_arg_t) == alignof(int64_t),
"The ABI stability check has failed.");
#endif
template <class T>
static T paddingSize(T count, unsigned align) {