diff --git a/src/main/java/io/github/yezhihao/protostar/schema/NumberSchema.java b/src/main/java/io/github/yezhihao/protostar/schema/NumberSchema.java index 786c448..e93e385 100644 --- a/src/main/java/io/github/yezhihao/protostar/schema/NumberSchema.java +++ b/src/main/java/io/github/yezhihao/protostar/schema/NumberSchema.java @@ -111,7 +111,7 @@ public class NumberSchema { @Override public void writeTo(ByteBuf output, Long value) { - output.writeLong(value.intValue()); + output.writeLong(value); } } } \ No newline at end of file