diff --git a/source2/Debug/Cosmos.Debug.Common/DebugConnectorStream.cs b/source2/Debug/Cosmos.Debug.Common/DebugConnectorStream.cs index bbb855dde..6db4ec26f 100644 --- a/source2/Debug/Cosmos.Debug.Common/DebugConnectorStream.cs +++ b/source2/Debug/Cosmos.Debug.Common/DebugConnectorStream.cs @@ -61,7 +61,7 @@ namespace Cosmos.Debug.Common { protected Action mCompleted; // Action to call after size received protected void SizePacket(byte[] aPacket) { - int xSize = aPacket[0] + aPacket[1] << 8; + int xSize = aPacket[0] + (aPacket[1] << 8); Next(xSize, mCompleted); }