mirror of
https://github.com/islehorse/HISP.git
synced 2025-07-05 06:42:46 +12:00
Update HISP
This commit is contained in:
parent
d73cd92c52
commit
29e5ab8093
8 changed files with 31 additions and 23 deletions
|
@ -350,7 +350,7 @@ namespace HISP.Server.Network
|
|||
additionalLengthData = BitConverter.GetBytes(Convert.ToUInt16(toSend)).Reverse().ToArray();
|
||||
|
||||
}
|
||||
else if(toSend < Int64.MaxValue)
|
||||
else if(Convert.ToInt64(toSend) < Int64.MaxValue)
|
||||
{
|
||||
maskAndLength |= WEBSOCKET_LENGTH_INT64;
|
||||
additionalLengthData = BitConverter.GetBytes(Convert.ToInt64(toSend)).Reverse().ToArray();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue