| Index: include/ots-memory-stream.h
|
| diff --git a/include/ots-memory-stream.h b/include/ots-memory-stream.h
|
| index 999b21f25b1f3bc27e6786f628759bbe3eda19c3..579da616fb797111d9e955fe56fcda4f2d82b3c6 100644
|
| --- a/include/ots-memory-stream.h
|
| +++ b/include/ots-memory-stream.h
|
| @@ -71,7 +71,7 @@ class ExpandingMemoryStream : public OTSStream {
|
| if (new_length > limit_)
|
| new_length = limit_;
|
| uint8_t* new_buf = new uint8_t[new_length];
|
| - memcpy(new_buf, ptr_, length_);
|
| + std::memcpy(new_buf, ptr_, length_);
|
| length_ = new_length;
|
| delete[] static_cast<uint8_t*>(ptr_);
|
| ptr_ = new_buf;
|
|
|