File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -647,7 +647,7 @@ public double ReadDouble(double? defaultValue)
647
647
/// </summary>
648
648
// Additional entries because MSTS has multiple default units, e.g. some speeds in metres/sec and others in miles/hr
649
649
[ Flags ]
650
- public enum UNITS
650
+ public enum UNITS : ulong
651
651
{
652
652
/// <summary>No unit parsing is done on the {constant_item} - which is obviously fastest
653
653
/// </summary>
@@ -829,7 +829,7 @@ public enum UNITS
829
829
/// <summary>Valid Units: w/s, kw/s, hp/s
830
830
/// <para>Scaled to watts per second.</para>
831
831
/// </summary>
832
- PowerRate = 1 << 31 ,
832
+ PowerRate = 1ul << 31 ,
833
833
834
834
// "Any" is used where units cannot easily be specified, such as generic routines for interpolating continuous data from point values.
835
835
// or interpreting locomotive cab attributes from the ORTSExtendedCVF experimental mechanism.
You can’t perform that action at this time.
0 commit comments