Fix signed/unsigned mismatch
This commit is contained in:
@@ -2248,7 +2248,7 @@ LLImportMaterial LLDAELoader::profileToMaterial(domProfile_COMMON* material, DAE
|
||||
if (newparams.getCount())
|
||||
{
|
||||
|
||||
for (S32 i = 0; i < newparams.getCount(); i++)
|
||||
for (U32 i = 0; i < newparams.getCount(); i++)
|
||||
{
|
||||
domFx_surface_common* surface = newparams[i]->getSurface();
|
||||
if (surface)
|
||||
|
||||
@@ -379,7 +379,7 @@ bool LLModelLoader::loadFromSLM(const std::string& filename)
|
||||
{
|
||||
if (!model[lod].empty())
|
||||
{
|
||||
if (idx >= model[lod].size())
|
||||
if (idx >= (S32)model[lod].size())
|
||||
{
|
||||
if (model[lod].size())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user