summaryrefslogtreecommitdiff
path: root/indra/newview/llvosky.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2022-11-09 00:41:58 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2022-11-09 00:41:58 +0200
commit290406294891cba3e3f1496ff952d4b485d0fc49 (patch)
treee02c02f130b4e00054028b400e7974252cde8495 /indra/newview/llvosky.cpp
parent67ce0e77d786b21c40e12b242e4646cfe6915e26 (diff)
parent94cb1ba16c5b301779e437f73af9e06558f15760 (diff)
Merge remote-tracking branch 'ZiRee/viewer/master' into DRTVWR-570-maint-Q
Diffstat (limited to 'indra/newview/llvosky.cpp')
-rw-r--r--indra/newview/llvosky.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llvosky.cpp b/indra/newview/llvosky.cpp
index 1aa00bc894..909588367b 100644
--- a/indra/newview/llvosky.cpp
+++ b/indra/newview/llvosky.cpp
@@ -100,8 +100,8 @@ LLSkyTex::LLSkyTex() :
void LLSkyTex::init(bool isShiny)
{
mIsShiny = isShiny;
- mSkyData = new LLColor4[SKYTEX_RESOLUTION * SKYTEX_RESOLUTION];
- mSkyDirs = new LLVector3[SKYTEX_RESOLUTION * SKYTEX_RESOLUTION];
+ mSkyData = new LLColor4[(U32)(SKYTEX_RESOLUTION * SKYTEX_RESOLUTION)];
+ mSkyDirs = new LLVector3[(U32)(SKYTEX_RESOLUTION * SKYTEX_RESOLUTION)];
for (S32 i = 0; i < 2; ++i)
{