Loading cmds/idmap2/libidmap2/ZipFile.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ ZipFile::~ZipFile() { 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; } Loading @@ -59,7 +59,7 @@ std::unique_ptr<const MemoryChunk> ZipFile::Uncompress(const std::string& entryP 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()); } Loading Loading
cmds/idmap2/libidmap2/ZipFile.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ ZipFile::~ZipFile() { 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; } Loading @@ -59,7 +59,7 @@ std::unique_ptr<const MemoryChunk> ZipFile::Uncompress(const std::string& entryP 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()); } Loading