Fix signed/unsigned mismatch

This commit is contained in:
Lirusaito
2016-07-08 16:46:34 -04:00
parent 87b955b2ce
commit eeb3a096d4
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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())
{