* fix warning

This commit is contained in:
Nikolay Nikolov 2024-01-06 22:05:35 +02:00
parent 3fddae4a40
commit 4b2a924ea0

View File

@ -2789,7 +2789,7 @@ implementation
InputError('Error reading symbol type from the WASM_SYMBOL_TABLE subsection of the ''linking'' section');
exit;
end;
if SymKindB>High(Ord(TWasmSymbolType)) then
if SymKindB>Ord(High(TWasmSymbolType)) then
begin
InputError('Unsupported symbol type from the WASM_SYMBOL_TABLE subsection of the ''linking'' section');
exit;