Skip to content

Commit 69d66dc

Browse files
committed
update MsgPackConstant
1 parent d45796c commit 69d66dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

codec/MsgPackConstant.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ public sealed class MsgPackConstant
1010
public static readonly long MAX_UINT32 = EzyMath.bin2long(32);
1111

1212
public static readonly long MIN_NEGATIVE_FIXINT = -EzyMath.bin2int(5) - 1;
13-
public static readonly long MIN_INT8 = -EzyMath.bin2int(7);
14-
public static readonly long MIN_INT16 = -EzyMath.bin2int(15);
15-
public static readonly long MIN_INT32 = -EzyMath.bin2int(31);
13+
public static readonly long MIN_INT8 = -EzyMath.bin2int(7) - 1;
14+
public static readonly long MIN_INT16 = -EzyMath.bin2int(15) - 1;
15+
public static readonly long MIN_INT32 = -EzyMath.bin2int(31) - 1;
1616

1717
public static readonly int MAX_FIXMAP_SIZE = EzyMath.bin2int(4);
1818
public static readonly int MAX_FIXARRAY_SIZE = EzyMath.bin2int(4);

0 commit comments

Comments
 (0)