diff --git a/protocol/src/main/resources/typescript/buffer/Longbits.ts b/protocol/src/main/resources/typescript/buffer/Longbits.ts index a538cace5..3bb8a20d7 100644 --- a/protocol/src/main/resources/typescript/buffer/Longbits.ts +++ b/protocol/src/main/resources/typescript/buffer/Longbits.ts @@ -43,7 +43,7 @@ class Longbits { /** * Converts this long bits to a long. */ - toLong(unsigned): Long { + toLong(unsigned: boolean): Long { return new Long(this.lo | 0, this.hi | 0, Boolean(unsigned)); }; diff --git a/protocol/src/test/java/com/zfoo/protocol/packet/NormalObject.java b/protocol/src/test/java/com/zfoo/protocol/packet/NormalObject.java index ffe088337..81d84ac83 100644 --- a/protocol/src/test/java/com/zfoo/protocol/packet/NormalObject.java +++ b/protocol/src/test/java/com/zfoo/protocol/packet/NormalObject.java @@ -60,6 +60,8 @@ public class NormalObject { // @Compatible(1) // public int outCompatibleValue; +// @Compatible(2) +// public int outCompatibleValue2; public byte getA() { return a;