summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-10-17 08:06:25 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-10-17 08:06:25 +0000
commit55dd3cb67fe4584c9617194de64cf9d2bd02a0f9 (patch)
tree5d8795b80c50ec5f73ec46652c1ddeb491a570fd
parentf98c432a6337872b56d9465b102cf271966f3642 (diff)
parentd0bdc7d23bc33bf860a57fef69eb417a049ba22f (diff)
downloadhikey-55dd3cb67fe4584c9617194de64cf9d2bd02a0f9.tar.gz
Merge "gralloc960/mali_gralloc_debug.cpp: migrate to String8.c_str()" into main am: d0bdc7d23b
Original change: https://android-review.googlesource.com/c/device/linaro/hikey/+/2778491 Change-Id: I0d047c2d471129538f2b0fce68310953d16d557e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--gralloc960/mali_gralloc_debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gralloc960/mali_gralloc_debug.cpp b/gralloc960/mali_gralloc_debug.cpp
index 2b2b4a7b..3737fbca 100644
--- a/gralloc960/mali_gralloc_debug.cpp
+++ b/gralloc960/mali_gralloc_debug.cpp
@@ -137,7 +137,7 @@ void mali_gralloc_dump_internal(uint32_t *outSize, char *outBuffer)
{
dumpSize = dumpStrings.size();
*outSize = (dumpSize < *outSize) ? dumpSize : *outSize;
- memcpy(outBuffer, dumpStrings.string(), *outSize);
+ memcpy(outBuffer, dumpStrings.c_str(), *outSize);
}
}
}