Fix a windows compiley thing.

This commit is contained in:
Inusaito Sayori
2012-12-21 05:49:14 -05:00
parent 237455f4b7
commit ceae4470f5

View File

@@ -1034,7 +1034,7 @@ void LLFloaterAvatarList::refreshAvatarList()
if (entry.mAge > -1) if (entry.mAge > -1)
{ {
static LLCachedControl<U32> sAvatarAgeAlertDays(gSavedSettings, "AvatarAgeAlertDays"); static LLCachedControl<U32> sAvatarAgeAlertDays(gSavedSettings, "AvatarAgeAlertDays");
if (entry.mAge < sAvatarAgeAlertDays) if ((U32)entry.mAge < sAvatarAgeAlertDays)
{ {
color = sRadarTextYoung; color = sRadarTextYoung;
if (!entry.mAgeAlert) //Only announce age once per entry. if (!entry.mAgeAlert) //Only announce age once per entry.