summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;