Nikolay Nikolov 1 год назад
Родитель
Сommit
4b2a924ea0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      compiler/ogwasm.pas

+ 1 - 1
compiler/ogwasm.pas

@@ -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;