diff --git a/CMakeLists.txt b/CMakeLists.txt index f9970dd76..aded916ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,7 @@ cable_set_build_type(DEFAULT RelWithDebInfo CONFIGURATION_TYPES Debug;Release;Re cable_configure_compiler() # TODO: fix the warnings instead -add_compile_options(-Wno-pedantic -Wno-sign-conversion) +add_compile_options(-Wno-pedantic) include(ProjectBinaryen) diff --git a/src/eei.cpp b/src/eei.cpp index 3fcfbfd78..7d648c717 100644 --- a/src/eei.cpp +++ b/src/eei.cpp @@ -671,7 +671,7 @@ namespace hera { } ensureCondition(gas >= 0, ArgumentOutOfRange, "Negative gas supplied."); - heraAssert((m_msg.flags & ~EVMC_STATIC) == 0, "Unknown flags not supported."); + heraAssert((m_msg.flags & ~uint32_t(EVMC_STATIC)) == 0, "Unknown flags not supported."); evmc_message call_message; call_message.destination = loadUint160(addressOffset);