switch from short to char to sidestep short java signage
This commit is contained in:
parent
2c16fe552f
commit
03d37b58f2
|
@ -55,7 +55,7 @@ public class CloseFrame extends ControlFrame
|
|||
}
|
||||
|
||||
ByteBuffer payload = ByteBuffer.allocate(len);
|
||||
payload.putShort((short)statusCode);
|
||||
payload.putChar((char)statusCode);
|
||||
if (utf != null)
|
||||
{
|
||||
payload.put(utf,0,utf.length);
|
||||
|
|
Loading…
Reference in New Issue