| Index: remoting/base/encoder_verbatim.cc
|
| diff --git a/remoting/base/encoder_verbatim.cc b/remoting/base/encoder_verbatim.cc
|
| index 509daf946dda8a5f6baf5138d0e77a162bb342aa..7f39f2713110ef779d8e029e658a022ae83817a0 100644
|
| --- a/remoting/base/encoder_verbatim.cc
|
| +++ b/remoting/base/encoder_verbatim.cc
|
| @@ -67,8 +67,7 @@ bool EncoderVerbatim::EncodeRect(
|
|
|
| // Resize the output data buffer.
|
| packet->mutable_rect_data()->mutable_data()->resize(output_size);
|
| - uint8* out = reinterpret_cast<uint8*>(
|
| - &((*packet->mutable_rect_data()->mutable_data())[0]));
|
| + uint8* out = (uint8*)packet->mutable_rect_data()->mutable_data()->data();
|
|
|
| for (int i = 0; i < DataPlanes::kPlaneCount; ++i) {
|
| // Skip over planes that don't have data.
|
|
|