summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-05-06 23:45:16 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-05-06 23:45:16 +0000
commitc181f79e8c4d12f5f39c400e725c273bd6957df7 (patch)
tree8b2425588cbefe19a20249c7bfb498046730f095
parent5df3f9ff95b707c1fee480d8815e554d4101f716 (diff)
parent3288566a4c4b1befa4a492cd3b0dbf8b9903c3ce (diff)
downloadextras-oreo-mr1-iot-release.tar.gz
Merge "simpleperf: track libziparchive API change."android-o-mr1-iot-release-1.0.12oreo-mr1-iot-release
-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;