We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a70e79 commit d3cceabCopy full SHA for d3cceab
Hi3Helper.Core/Data/IniValue.cs
@@ -401,7 +401,7 @@ public TNumber ToNumber<TNumber>(TNumber? defaultValue = null)
401
402
public static implicit operator ushort(IniValue value) => value.ToNumber<ushort>();
403
404
- public static implicit operator int(IniValue value) => value.ToNumber<ushort>();
+ public static implicit operator int(IniValue value) => value.ToNumber<int>();
405
406
public static implicit operator uint(IniValue value) => value.ToNumber<uint>();
407
0 commit comments