diff --git a/indra/llcommon/llmemory.cpp b/indra/llcommon/llmemory.cpp
index d46e205500adc856d230f3f37692004161013734..4b21fa3bda999137ce4306c997b4faaf2a553be2 100755
--- a/indra/llcommon/llmemory.cpp
+++ b/indra/llcommon/llmemory.cpp
@@ -131,8 +131,8 @@ void LLMemory::updateMemoryInfo()
 #else
 	//not valid for other systems for now.
 	sAllocatedMemInKB = (U32)(LLMemory::getCurrentRSS() / 1024) ;
-	sMaxPhysicalMemInKB = U32_MAX ;
-	sAvailPhysicalMemInKB = U32_MAX ;
+	sMaxPhysicalMemInKB = (U32Bytes)U32_MAX ;
+	sAvailPhysicalMemInKB = (U32Bytes)U32_MAX ;
 #endif
 
 	return ;