From cf214e4f9ebbab700df9ef11f02aeae995fb0493 Mon Sep 17 00:00:00 2001 From: Latif Khalifa Date: Thu, 10 Oct 2013 22:07:43 +0200 Subject: [PATCH] Silence compiler warnings --- indra/llcommon/llalignedarray.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/llcommon/llalignedarray.h b/indra/llcommon/llalignedarray.h index ed8fd3120..964b6d87a 100644 --- a/indra/llcommon/llalignedarray.h +++ b/indra/llcommon/llalignedarray.h @@ -116,14 +116,14 @@ void LLAlignedArray::resize(U32 size) template T& LLAlignedArray::operator[](int idx) { - llassert(idx < mElementCount); + llassert((U32)idx < mElementCount); return mArray[idx]; } template const T& LLAlignedArray::operator[](int idx) const { - llassert(idx < mElementCount); + llassert((U32)idx < mElementCount); return mArray[idx]; }