summaryrefslogtreecommitdiff
path: root/simpleperf/utils.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-05-03 22:37:19 -0700
committerElliott Hughes <enh@google.com>2019-05-03 22:37:19 -0700
commit3288566a4c4b1befa4a492cd3b0dbf8b9903c3ce (patch)
treeb74bd4eb0eb672ab5c1ba23030819aabfdb2e4b7 /simpleperf/utils.cpp
parentb5f806aea10a43d5c08ff20c01478332f2492cd0 (diff)
downloadextras-3288566a4c4b1befa4a492cd3b0dbf8b9903c3ce.tar.gz
simpleperf: track libziparchive API change.
Bug: http://b/129068177 Test: treehugger Change-Id: I6925a102834706c21ee67c2a7742dd577b5f4895
Diffstat (limited to 'simpleperf/utils.cpp')
-rw-r--r--simpleperf/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simpleperf/utils.cpp b/simpleperf/utils.cpp
index a5714b06..b128179d 100644
--- a/simpleperf/utils.cpp
+++ b/simpleperf/utils.cpp
@@ -128,7 +128,7 @@ bool ArchiveHelper::IterateEntries(
}
bool ArchiveHelper::FindEntry(const std::string& name, ZipEntry* entry) {
- int result = ::FindEntry(handle_, ZipString(name.c_str()), entry);
+ int result = ::FindEntry(handle_, name, entry);
if (result != 0) {
LOG(ERROR) << "Failed to find " << name << " in " << filename_;
return false;