libidmap2: track libziparchive API change.

Bug: http://b/129068177
Test: treehugger
Change-Id: Id1e855d17cde15b2db37df5e192e2011c60eaebe
diff --git a/cmds/idmap2/libidmap2/ZipFile.cpp b/cmds/idmap2/libidmap2/ZipFile.cpp
index 812fd6e..4f5e3a4 100644
--- a/cmds/idmap2/libidmap2/ZipFile.cpp
+++ b/cmds/idmap2/libidmap2/ZipFile.cpp
@@ -45,7 +45,7 @@
 
 std::unique_ptr<const MemoryChunk> ZipFile::Uncompress(const std::string& entryPath) const {
   ::ZipEntry entry;
-  int32_t status = ::FindEntry(handle_, ::ZipString(entryPath.c_str()), &entry);
+  int32_t status = ::FindEntry(handle_, entryPath, &entry);
   if (status != 0) {
     return nullptr;
   }
@@ -59,7 +59,7 @@
 
 Result<uint32_t> ZipFile::Crc(const std::string& entryPath) const {
   ::ZipEntry entry;
-  int32_t status = ::FindEntry(handle_, ::ZipString(entryPath.c_str()), &entry);
+  int32_t status = ::FindEntry(handle_, entryPath, &entry);
   if (status != 0) {
     return Error("failed to find zip entry %s", entryPath.c_str());
   }