This commit is contained in:
地平线
2015-09-16 18:20:31 +08:00
parent 11d1d7e064
commit 08eab09a01

View File

@@ -483,7 +483,7 @@ public class WebSocketRunner implements Runnable {
return packet;
}
private static byte[] encodeLength(final long length) {
private static byte[] encodeLength(final int length) {
byte[] lengthBytes;
if (length <= 125) {
lengthBytes = new byte[1];