Compiler fix

This commit is contained in:
Alex Beregszaszi
2023-01-05 20:05:11 +01:00
committed by Daniel Kirchner
parent d6d1ba43bc
commit f7d3e61345
+1 -1
View File
@@ -777,7 +777,7 @@ LinkerObject const& Assembly::assemble(bool eof) const
auto const dataLength = ret.bytecode.size() - dataStart;
if (eof)
{
assertThrow(dataLength >= 0 && dataLength <= 0xffff, AssemblyException, "Invalid data section size.");
assertThrow(/*dataLength >= 0 && */ dataLength <= 0xffff, AssemblyException, "Invalid data section size.");
toBigEndian(uint16_t(dataLength), eofDataLength);
}