blob: ea64639a17f5f2d155f2cee5bae60dc9c2495adc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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) {
|