blob: ea64639a17f5f2d155f2cee5bae60dc9c2495adc (
plain) (
tree)
|
|
diff --git a/snappy.cc b/snappy.cc
index 4bcea0b..2db94b7 100644
--- a/snappy.cc
+++ b/snappy.cc
@@ -89,7 +89,7 @@ size_t MaxCompressedLength(size_t source_len) {
namespace {
void UnalignedCopy64(const void* src, void* dst) {
- memcpy(dst, src, 8);
+ memmove(dst, src, 8);
}
void UnalignedCopy128(const void* src, void* dst) {
|