From a17d9545ae1ed519cbd085394f341e7eda8371ee Mon Sep 17 00:00:00 2001 From: Jack Huey Date: Wed, 3 Sep 2014 21:12:28 -0500 Subject: [PATCH] The things we miss... --- src/main/java/com/flowpowered/networking/util/ByteBufUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/flowpowered/networking/util/ByteBufUtils.java b/src/main/java/com/flowpowered/networking/util/ByteBufUtils.java index 453dffb..90689d2 100644 --- a/src/main/java/com/flowpowered/networking/util/ByteBufUtils.java +++ b/src/main/java/com/flowpowered/networking/util/ByteBufUtils.java @@ -117,7 +117,7 @@ public static void writeVarInt(ByteBuf buf, int value) { * @throws java.io.IOException If the reading fails */ public static long readVarLong(ByteBuf buf) throws IOException { - int out = 0; + long out = 0; int bytes = 0; byte in; while (true) {