mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 04:53:12 +01:00
Convert most remaining C-style casts to C++-style ones (#11867)
This commit is contained in:
committed by
GitHub
parent
7646f1b7e4
commit
9ef8d6da42
@@ -59,7 +59,7 @@ public:
|
||||
jclass zipClass = env->GetObjectClass(_zip);
|
||||
jmethodID fileCountMethod = env->GetMethodID(zipClass, "getNumFiles", "()I");
|
||||
|
||||
return (size_t)env->CallIntMethod(_zip, fileCountMethod);
|
||||
return static_cast<size_t>(env->CallIntMethod(_zip, fileCountMethod));
|
||||
}
|
||||
|
||||
std::string GetFileName(size_t index) const override
|
||||
|
||||
Reference in New Issue
Block a user