aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llprocessor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llcommon/llprocessor.cpp')
-rw-r--r--linden/indra/llcommon/llprocessor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/llcommon/llprocessor.cpp b/linden/indra/llcommon/llprocessor.cpp
index d269e35..40dc00c 100644
--- a/linden/indra/llcommon/llprocessor.cpp
+++ b/linden/indra/llcommon/llprocessor.cpp
@@ -277,7 +277,7 @@ bool CProcessor::AnalyzeIntelProcessor()
277 277
278 // Only override the brand if we have it in the lookup table. We should 278 // Only override the brand if we have it in the lookup table. We should
279 // already have a string here from GetCPUInfo(). JC 279 // already have a string here from GetCPUInfo(). JC
280 if (CPUInfo.uiBrandID < sizeof(INTEL_BRAND)) 280 if (CPUInfo.uiBrandID < (sizeof(INTEL_BRAND)/sizeof(INTEL_BRAND[0])))
281 { 281 {
282 strcpy(CPUInfo.strBrandID, INTEL_BRAND[CPUInfo.uiBrandID]); 282 strcpy(CPUInfo.strBrandID, INTEL_BRAND[CPUInfo.uiBrandID]);
283 283