Windows build fixes
This commit is contained in:
@@ -39,6 +39,9 @@
|
||||
|
||||
#include "linden_common.h"
|
||||
|
||||
#if LL_WINDOWS
|
||||
#include <winsock2.h> //remove classic winsock from windows.h
|
||||
#endif
|
||||
#define OPENSSL_THREAD_DEFINES
|
||||
#include <openssl/opensslconf.h> // OPENSSL_THREADS
|
||||
#include <openssl/crypto.h>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user