diff options
| author | Ansariel <ansariel.hiller@phoenixviewer.com> | 2024-06-10 17:17:50 +0200 | 
|---|---|---|
| committer | Ansariel <ansariel.hiller@phoenixviewer.com> | 2024-06-10 17:17:50 +0200 | 
| commit | 13b08c8ae1c3b92236f156fba5686f231abfb711 (patch) | |
| tree | 58b3e94fad5a48867cc1b22f89e6b04ababe603b /indra | |
| parent | c0fad3028fd55c2067ce6a0ae4382cffe1014284 (diff) | |
Add more missing type casts
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/llviewertexture.cpp | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index 55d0aba211..e3f9b21342 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -765,8 +765,8 @@ void LLViewerTexture::removeFace(U32 ch, LLFace* facep)      if(mNumFaces[ch] > 1)      {          S32 index = facep->getIndexInTex(ch); -        llassert(index < mFaceList[ch].size()); -        llassert(index < mNumFaces[ch]); +        llassert(index < (S32)mFaceList[ch].size()); +        llassert(index < (S32)mNumFaces[ch]);          mFaceList[ch][index] = mFaceList[ch][--mNumFaces[ch]];          mFaceList[ch][index]->setIndexInTex(ch, index);      } @@ -818,8 +818,8 @@ void LLViewerTexture::removeVolume(U32 ch, LLVOVolume* volumep)      if (mNumVolumes[ch] > 1)      {          S32 index = volumep->getIndexInTex(ch); -        llassert(index < mVolumeList[ch].size()); -        llassert(index < mNumVolumes[ch]); +        llassert(index < (S32)mVolumeList[ch].size()); +        llassert(index < (S32)mNumVolumes[ch]);          mVolumeList[ch][index] = mVolumeList[ch][--mNumVolumes[ch]];          mVolumeList[ch][index]->setIndexInTex(ch, index);      } | 
