diff options
-rw-r--r-- | runtime/zip_archive.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/zip_archive.cc b/runtime/zip_archive.cc index 88c1f69bf5..9daaf8e204 100644 --- a/runtime/zip_archive.cc +++ b/runtime/zip_archive.cc @@ -124,7 +124,7 @@ ZipEntry* ZipArchive::Find(const char* name, std::string* error_msg) const { // Resist the urge to delete the space. <: is a bigraph sequence. std::unique_ptr< ::ZipEntry> zip_entry(new ::ZipEntry); - const int32_t error = FindEntry(handle_, ZipEntryName(name), zip_entry.get()); + const int32_t error = FindEntry(handle_, ZipString(name), zip_entry.get()); if (error) { *error_msg = std::string(ErrorCodeString(error)); return nullptr; |