summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-11-09 14:01:32 -0800
committerJames Cook <james@lindenlab.com>2009-11-09 14:01:32 -0800
commitb82fadeda8489134a12bb573e612f32e135d6cc5 (patch)
tree78dcfb24a1c02dd14d9e46d89a093645c5b33787 /indra/newview/llvovolume.cpp
parent50c28f40b0692298e51cc464b8444f139f837eb7 (diff)
Fix signed/unsigned build breakage in llvovolume.cpp
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r--indra/newview/llvovolume.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 09769d5e80..a32abf3ab9 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -1646,7 +1646,7 @@ LLVector3 LLVOVolume::getApproximateFaceNormal(U8 face_id)
if (volume && face_id < volume->getNumVolumeFaces())
{
const LLVolumeFace& face = volume->getVolumeFace(face_id);
- for (S32 i = 0; i < face.mVertices.size(); ++i)
+ for (S32 i = 0; i < (S32)face.mVertices.size(); ++i)
{
result += face.mVertices[i].mNormal;
}