diff options
author | 2023-08-17 16:27:22 +0000 | |
---|---|---|
committer | 2023-09-12 22:31:10 +0000 | |
commit | 835dfe50a73c6f6de581aaa143c333af79bcca4d (patch) | |
tree | 0bec830cab5de4388aafc4af0e357bfc327be1a0 /tools/aapt/XMLNode.cpp | |
parent | a235f8ba91dd467b245f680887e2a75507814b4e (diff) |
Don't depend on String8 cast to C string
Bug: 295394788
Test: m checkbuild
Change-Id: I6aa039b6b2a4944e3537ef133f8785890d957edd
Diffstat (limited to 'tools/aapt/XMLNode.cpp')
-rw-r--r-- | tools/aapt/XMLNode.cpp | 2 |
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()); |