From 3580444ea510d85d1626b97920137a1a2e88d138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=89=91=E5=99=A8=E8=BF=91?= Date: Thu, 20 May 2021 17:31:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DLong64=E5=86=99=E5=85=A5?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E7=9A=84int=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/github/yezhihao/protostar/schema/NumberSchema.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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