Browse Source

Fixing an issue where I passed the wrong value in, causing an error with long buffers

Ayende Rahien 15 years ago
parent
commit
4d2582081d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ProtocolBuffers/CodedInputStream.cs

+ 1 - 1
src/ProtocolBuffers/CodedInputStream.cs

@@ -863,7 +863,7 @@ namespace Google.ProtocolBuffers {
         }
 
         // Done.
-        return new ByteBuffer(buffer, 0, size);
+        return new ByteBuffer(bytes, 0, size);
       }
     }