summaryrefslogtreecommitdiff
path: root/tools/aapt/XMLNode.cpp
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2023-09-13 21:26:45 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-09-13 21:26:45 +0000
commit41363ba9fceec76e0233db8889d75e986b91f39a (patch)
treea503827eb2943bb7e44c42c319a9f284c8e17cd8 /tools/aapt/XMLNode.cpp
parent545d8455698f29d35c3ed0b85139016d5a15eb0c (diff)
parent835dfe50a73c6f6de581aaa143c333af79bcca4d (diff)
Merge "Don't depend on String8 cast to C string" into main
Diffstat (limited to 'tools/aapt/XMLNode.cpp')
-rw-r--r--tools/aapt/XMLNode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/XMLNode.cpp b/tools/aapt/XMLNode.cpp
index a887ac947835..1a648c01f631 100644
--- a/tools/aapt/XMLNode.cpp
+++ b/tools/aapt/XMLNode.cpp
@@ -559,7 +559,7 @@ status_t parseXMLResource(const sp<AaptFile>& file, ResXMLTree* outTree,
root->removeWhitespace(stripAll, cDataTags);
if (kIsDebug) {
- printf("Input XML from %s:\n", (const char*)file->getPrintableSource());
+ printf("Input XML from %s:\n", file->getPrintableSource().c_str());
root->print();
}
sp<AaptFile> rsc = new AaptFile(String8(), AaptGroupEntry(), String8());