Windows build fixes

This commit is contained in:
Siana Gearz
2012-09-20 01:37:40 +02:00
parent 8df7a52cf7
commit b7f5d7e415
2 changed files with 4 additions and 1 deletions

View File

@@ -1416,7 +1416,7 @@ BOOL LLWindowWin32::switchContext(BOOL fullscreen, const LLCoordScreen &size, BO
{
found_format = TRUE;
}
else if(cur_format >= num_formats-1)
else if(cur_format >= (S32)num_formats-1)
{
cur_format = 0;
found_format = TRUE;