MSVC warning fix

git-svn-id: https://svn.eduke32.com/eduke32@6840 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-04-23 06:34:33 +00:00
parent daa033d56a
commit 4551b276a1
2 changed files with 4 additions and 2 deletions

View file

@ -7,6 +7,9 @@
#pragma once #pragma once
#ifdef _WIN32
# include "windows_inc.h"
#endif
////////// Compiler detection ////////// ////////// Compiler detection //////////

View file

@ -62,7 +62,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#endif #endif
#ifdef _WIN32 #ifdef _WIN32
# define WIN32_LEAN_AND_MEAN 1
# include <shellapi.h> # include <shellapi.h>
# define UPDATEINTERVAL 604800 // 1w # define UPDATEINTERVAL 604800 // 1w
# include "winbits.h" # include "winbits.h"
@ -6593,7 +6592,7 @@ int app_main(int argc, char const * const * argv)
minitext_lowercase = 1; minitext_lowercase = 1;
for (bssize_t i = MINIFONT + ('a'-'!'); minitext_lowercase && i < MINIFONT + ('z'-'!') + 1; ++i) for (bssize_t i = MINIFONT + ('a'-'!'); minitext_lowercase && i < MINIFONT + ('z'-'!') + 1; ++i)
minitext_lowercase &= tileLoad(i); minitext_lowercase &= (int)tileLoad(i);
if (g_networkMode != NET_DEDICATED_SERVER) if (g_networkMode != NET_DEDICATED_SERVER)
{ {