From 19025769039e4fcc9e98e5bb64501d3fa791e20e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Mon, 25 Jun 2018 16:02:24 +0200 Subject: [PATCH] Fix build for 32-bit architectures --- test/vmtester/tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/vmtester/tests.cpp b/test/vmtester/tests.cpp index 7d3e2c9..a284412 100644 --- a/test/vmtester/tests.cpp +++ b/test/vmtester/tests.cpp @@ -10,7 +10,7 @@ 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_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_message) <= 18 * 8, "evmc_message not optimally packed"); static_assert(offsetof(evmc_message, code_hash) % 8 == 0, "evmc_message.code_hash not aligned");