Permalink
Browse files

Fix signed/unsigned mismatch

  • Loading branch information...
1 parent 87b955b commit eeb3a096d405df5d43deb057bc2eedba574c40bc @Lirusaito Lirusaito committed Jul 8, 2016
Showing with 2 additions and 2 deletions.
  1. +1 −1 indra/llprimitive/lldaeloader.cpp
  2. +1 −1 indra/llprimitive/llmodelloader.cpp
@@ -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())
{

0 comments on commit eeb3a09

Please sign in to comment.