diff options
| author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2024-06-10 18:31:07 +0300 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-10 18:31:07 +0300 | 
| commit | 737bf1ba9431aa35e2e510c5de76fd6a632c61b8 (patch) | |
| tree | 08e343c11fccda03b28aaf2cec34a06c98d8aa77 /indra/newview/llvovolume.cpp | |
| parent | 34dfd7d5996b1b6117c2155bb95aeb377038bb6e (diff) | |
| parent | 13b08c8ae1c3b92236f156fba5686f231abfb711 (diff) | |
Merge pull request #1676 from Ansariel/DRTVWR-600-maint-A
Re-enable compiler warnings C4018, C4100, C4231 and C4506
Diffstat (limited to 'indra/newview/llvovolume.cpp')
| -rw-r--r-- | indra/newview/llvovolume.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 91da88f7bf..b5cda6019b 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -3984,7 +3984,7 @@ U32 LLVOVolume::getRenderCost(texture_cost_t &textures) const      U32 media_faces = 0;      const LLDrawable* drawablep = mDrawable; -    U32 num_faces = drawablep->getNumFaces(); +    S32 num_faces = drawablep->getNumFaces();      const LLVolumeParams& volume_params = getVolume()->getParams(); @@ -4953,7 +4953,7 @@ void LLRiggedVolume::update(                  else              #endif                  { -                    for (U32 j = 0; j < dst_face.mNumVertices; ++j) +                    for (S32 j = 0; j < dst_face.mNumVertices; ++j)                      {                          LLMatrix4a final_mat;                          LLSkinningUtil::getPerVertexSkinMatrix(weight[j].getF32ptr(), mat, false, final_mat, max_joints); @@ -4980,7 +4980,7 @@ void LLRiggedVolume::update(                      box_max = max;                  } -                for (U32 j = 1; j < dst_face.mNumVertices; ++j) +                for (S32 j = 1; j < dst_face.mNumVertices; ++j)                  {                      min.setMin(min, pos[j]);                      max.setMax(max, pos[j]); | 
