From 4d2582081dad9ebd7c5ff667ada70cc26e363326 Mon Sep 17 00:00:00 2001 From: Ayende Rahien Date: Fri, 19 Feb 2010 01:22:30 +0200 Subject: [PATCH] Fixing an issue where I passed the wrong value in, causing an error with long buffers --- src/ProtocolBuffers/CodedInputStream.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ProtocolBuffers/CodedInputStream.cs b/src/ProtocolBuffers/CodedInputStream.cs index 8ddc960373..d3f81df038 100644 --- a/src/ProtocolBuffers/CodedInputStream.cs +++ b/src/ProtocolBuffers/CodedInputStream.cs @@ -863,7 +863,7 @@ namespace Google.ProtocolBuffers { } // Done. - return new ByteBuffer(buffer, 0, size); + return new ByteBuffer(bytes, 0, size); } }