Skip to content

Commit

Permalink
auto
Browse files Browse the repository at this point in the history
  • Loading branch information
briaguya-ai committed Feb 19, 2024
1 parent 549fc32 commit bde060d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resource/archive/O2rArchive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ std::shared_ptr<File> O2rArchive::LoadFileRaw(const std::string& filePath) {
return nullptr;
}

int zipEntryIndex = zip_name_locate(mZipArchive, filePath.c_str(), 0);
auto zipEntryIndex = zip_name_locate(mZipArchive, filePath.c_str(), 0);
if (zipEntryIndex < 0) {
SPDLOG_TRACE("Failed to find file {} in zip archive {}.", filePath, GetPath());
return nullptr;
Expand Down

0 comments on commit bde060d

Please sign in to comment.