diff options
Diffstat (limited to 'base/pickle.cc')
-rw-r--r-- | base/pickle.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/pickle.cc b/base/pickle.cc index 00c6ef0..af3191b 100644 --- a/base/pickle.cc +++ b/base/pickle.cc @@ -318,7 +318,7 @@ char* Pickle::BeginWrite(size_t length) { #endif header_->payload_size = static_cast<uint32>(new_size); - return payload() + offset; + return mutable_payload() + offset; } void Pickle::EndWrite(char* dest, int length) { |