aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorLittleboy2011-07-19 13:46:32 -0400
committerLittleboy2011-07-19 14:12:07 -0400
commitda60ff3ded848f54300b8d320d158accde2cd4af (patch)
tree688b33a60d3d21bad1de8321f9577d0229d81ff4 /backends/platform
parent9ad45e28a19917fb11893f2712a9cab53c2142c8 (diff)
downloadscummvm-rg350-da60ff3ded848f54300b8d320d158accde2cd4af.tar.gz
scummvm-rg350-da60ff3ded848f54300b8d320d158accde2cd4af.tar.bz2
scummvm-rg350-da60ff3ded848f54300b8d320d158accde2cd4af.zip
JANITORIAL: Fix MSVC warnings
- Conversion from double to float - Unary minus operator applied to unsigned type - ARRAYSIZE redefinition
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/sdl/win32/win32.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/backends/platform/sdl/win32/win32.cpp b/backends/platform/sdl/win32/win32.cpp
index c1b6c853e4..a2c8e43424 100644
--- a/backends/platform/sdl/win32/win32.cpp
+++ b/backends/platform/sdl/win32/win32.cpp
@@ -23,11 +23,6 @@
// Disable symbol overrides so that we can use system headers.
#define FORBIDDEN_SYMBOL_ALLOW_ALL
-#include "common/scummsys.h"
-#include "common/config-manager.h"
-#include "common/error.h"
-#include "common/textconsole.h"
-
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
@@ -35,6 +30,11 @@
#undef ARRAYSIZE // winnt.h defines ARRAYSIZE, but we want our own one...
#include <shellapi.h>
+#include "common/scummsys.h"
+#include "common/config-manager.h"
+#include "common/error.h"
+#include "common/textconsole.h"
+
#include <SDL_syswm.h> // For setting the icon
#include "backends/platform/sdl/win32/win32.h"