diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp
index f4b5d8852919c3a2d4c31a7ffd03b55c58f48fd1..fc611147f222ff1b4287a0a4cc49e48c292ec400 100644
--- a/indra/llrender/llrender.cpp
+++ b/indra/llrender/llrender.cpp
@@ -1206,8 +1206,8 @@ void LLRender::syncLightState()
 		LLVector4 position[8];
 		LLVector3 direction[8];
 		LLVector4 attenuation[8];
-		LLVector3 diffuse[8];
-        LLVector3 diffuse_b[8];
+		LLVector4 diffuse[8];
+        LLVector4 diffuse_b[8];
         bool      sun_primary[8];
 
 		for (U32 i = 0; i < 8; i++)