summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorPalmer Truelson <palmer@lindenlab.com>2010-02-23 23:02:20 -0800
committerPalmer Truelson <palmer@lindenlab.com>2010-02-23 23:02:20 -0800
commit245fe3edc6fa7333c16efcc90a4a52db8450a828 (patch)
tree8cae1bd59978075258dfb1f9a3359425fdc317b6 /indra
parent8ae07481a4adefd7111754e2456c498c17f90e96 (diff)
Fix compiler complaints about signed/unsigned mismatch
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp
index c473be852d..9de69a8173 100644
--- a/indra/newview/llface.cpp
+++ b/indra/newview/llface.cpp
@@ -1065,14 +1065,14 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume,
mVertexBuffer->getIndexStrider(indicesp, mIndicesIndex);
if (LLPipeline::sUseTriStrips)
{
- for (U32 i = 0; i < num_indices; i++)
+ for (U32 i = 0; i < (U32) num_indices; i++)
{
*indicesp++ = vf.mTriStrip[i] + index_offset;
}
}
else
{
- for (U32 i = 0; i < num_indices; i++)
+ for (U32 i = 0; i < (U32) num_indices; i++)
{
*indicesp++ = vf.mIndices[i] + index_offset;
}