diff --git a/TreeConverter/SystemLib/static_executors.cs b/TreeConverter/SystemLib/static_executors.cs index ac11fcc33..e4b5d932b 100644 --- a/TreeConverter/SystemLib/static_executors.cs +++ b/TreeConverter/SystemLib/static_executors.cs @@ -2785,7 +2785,7 @@ namespace PascalABCCompiler.SystemLibrary { return null; } - return new byte_const_node((byte)bcn.constant_value, call_location); + return new int_const_node((int)bcn.constant_value, call_location); } private static expression_node uint_to_uint_executor(location call_location, params expression_node[] parameters)