diff --git a/pom.xml b/pom.xml index a645d8b..5ae991b 100644 --- a/pom.xml +++ b/pom.xml @@ -62,7 +62,7 @@ io.netty netty-buffer - 4.1.54.Final + 4.1.58.Final provided diff --git a/src/main/java/io/github/yezhihao/protostar/PrepareLoadStrategy.java b/src/main/java/io/github/yezhihao/protostar/PrepareLoadStrategy.java index 032afc2..a2c9010 100644 --- a/src/main/java/io/github/yezhihao/protostar/PrepareLoadStrategy.java +++ b/src/main/java/io/github/yezhihao/protostar/PrepareLoadStrategy.java @@ -42,7 +42,10 @@ public abstract class PrepareLoadStrategy extends IdStrategy { this.typeIdMapping.put(key, NumberSchema.Int16.INSTANCE); break; case DWORD: - this.typeIdMapping.put(key, NumberSchema.Int32.INSTANCE); + this.typeIdMapping.put(key, NumberSchema.Long32.INSTANCE); + break; + case QWORD: + this.typeIdMapping.put(key, NumberSchema.Long64.INSTANCE); break; case BYTES: this.typeIdMapping.put(key, ArraySchema.ByteArraySchema.INSTANCE);