mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
overflow avoidance
This commit is contained in:
parent
76b33ab57b
commit
2f19db7607
|
|
@ -200,7 +200,7 @@ IESLoadHelper::load(const std::string& data, IESFileInfo& info)
|
|||
info._anglesH.push_back(value);
|
||||
}
|
||||
|
||||
info._candalaValues.reserve(info.anglesNumH * info.anglesNumV);
|
||||
info._candalaValues.reserve(size_t(info.anglesNumH * info.anglesNumV));
|
||||
|
||||
for (std::int32_t y = 0; y < info.anglesNumH; ++y)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue