summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-10-18 01:05:34 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-10-18 01:05:34 +0000
commit1d5f38ff1fa86434ca8d2827e2e81b79d0e82baf (patch)
tree5d8795b80c50ec5f73ec46652c1ddeb491a570fd
parent4405fe453fae8d7274b90e1e264a9a0973aeab74 (diff)
parent8a4862c187c8a3d852406a430f1182955d0f4176 (diff)
downloadhikey-1d5f38ff1fa86434ca8d2827e2e81b79d0e82baf.tar.gz
Snap for 10963245 from 8a4862c187c8a3d852406a430f1182955d0f4176 to 24Q1-release
Change-Id: Ibc3c7b725fd44033fc86da676dc73516bb9e7000
-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);
}
}
}