From b5a10cfa764133ccbf5a98c328e2cbe109edc793 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 6 Dec 2022 20:31:28 +0100 Subject: [PATCH] f --- libevmasm/Assembly.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libevmasm/Assembly.cpp b/libevmasm/Assembly.cpp index 7f84f8617..e472902d9 100644 --- a/libevmasm/Assembly.cpp +++ b/libevmasm/Assembly.cpp @@ -714,7 +714,7 @@ LinkerObject const& Assembly::assemble() const // assertThrow(pos != numeric_limits::max(), AssemblyException, "Reference to tag without position."); if (isStaticTagRef.count(i.first)) { pos = pos - (i.first + bytesPerStaticTag); // TODO: calculate relative figure properly - cout << "Change position of static jump to " << pos << "\n"; + cout << "Change position of static jump to " << int16_t(pos) << "\n"; // assertThrow(numberEncodingSize(pos) <= bytesPerStaticTag, AssemblyException, "Tag too large for reserved space."); //pos = static_cast(spos); bytesRef r(ret.bytecode.data() + i.first, bytesPerStaticTag);