mirror of https://github.com/status-im/evmc.git
Fix build for 32-bit architectures
This commit is contained in:
parent
3c7ffaac82
commit
1902576903
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
static_assert(sizeof(evmc_uint256be) == 32, "evmc_uint256be is too big");
|
static_assert(sizeof(evmc_uint256be) == 32, "evmc_uint256be is too big");
|
||||||
static_assert(sizeof(evmc_address) == 20, "evmc_address is too big");
|
static_assert(sizeof(evmc_address) == 20, "evmc_address is too big");
|
||||||
static_assert(sizeof(evmc_result) == 64, "evmc_result does not fit cache line");
|
static_assert(sizeof(evmc_result) <= 64, "evmc_result does not fit cache line");
|
||||||
static_assert(sizeof(evmc_instance) <= 64, "evmc_instance does not fit cache line");
|
static_assert(sizeof(evmc_instance) <= 64, "evmc_instance does not fit cache line");
|
||||||
static_assert(sizeof(evmc_message) <= 18 * 8, "evmc_message not optimally packed");
|
static_assert(sizeof(evmc_message) <= 18 * 8, "evmc_message not optimally packed");
|
||||||
static_assert(offsetof(evmc_message, code_hash) % 8 == 0, "evmc_message.code_hash not aligned");
|
static_assert(offsetof(evmc_message, code_hash) % 8 == 0, "evmc_message.code_hash not aligned");
|
||||||
|
|
Loading…
Reference in New Issue