浏览代码

* fix warning

Nikolay Nikolov 1 年之前
父节点
当前提交
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;