commit | de5fdd67730def6d3002ae56b27bb349e2ad4d24 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Fri Nov 14 00:38:01 2014 +0000 |
committer | Android Git Automerger <android-git-automerger@android.com> | Fri Nov 14 00:38:01 2014 +0000 |
tree | 6c97bb3cb28dc21a33efaa213d7f411d513df6e6 | |
parent | 0b7f368442853f0eac86addd0f9cd186ac51262e [diff] | |
parent | 6ef68b55b77b199fdcef2822750a392e1d0a4b04 [diff] |
am 6ef68b55: Merge "System/core: Use memmove" * commit '6ef68b55b77b199fdcef2822750a392e1d0a4b04': System/core: Use memmove
diff --git a/libutils/String8.cpp b/libutils/String8.cpp index 9092cbc..3323b82 100644 --- a/libutils/String8.cpp +++ b/libutils/String8.cpp
@@ -424,7 +424,7 @@ next = len; } - memcpy(buf + tail, buf + index + skip, next - index - skip); + memmove(buf + tail, buf + index + skip, next - index - skip); tail += next - index - skip; index = next; }