From b1e593bb60317a2a6cb9232637eaee651e07bb47 Mon Sep 17 00:00:00 2001 From: kudzu_cp <6d05c8c8ef5431987001abfdb2eadc9593ac9498> Date: Sat, 9 Jul 2011 22:00:12 +0000 Subject: [PATCH] --- source2/Debug/Cosmos.Debug.Common/DebugConnectorStream.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }