aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorJamieson Christian2003-06-11 05:06:22 +0000
committerJamieson Christian2003-06-11 05:06:22 +0000
commita26c74c108c2b1c7458ab05d6f85484dda47b827 (patch)
tree1d1dbf3216baa9a9eaa6073e72fb2da1ca38b970 /sky
parentf36459f8ba1493cf440a51098cc5c0dc4be3df0c (diff)
downloadscummvm-rg350-a26c74c108c2b1c7458ab05d6f85484dda47b827.tar.gz
scummvm-rg350-a26c74c108c2b1c7458ab05d6f85484dda47b827.tar.bz2
scummvm-rg350-a26c74c108c2b1c7458ab05d6f85484dda47b827.zip
Added MSVC6 truncation warning to #pragma
svn-id: r8430
Diffstat (limited to 'sky')
-rw-r--r--sky/compact.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sky/compact.cpp b/sky/compact.cpp
index acd721f8ac..6490b6d148 100644
--- a/sky/compact.cpp
+++ b/sky/compact.cpp
@@ -23,6 +23,7 @@
#ifdef _MSC_VER
// disable warning "truncation of constant value". Some signed
// fields of the structs are saved as unsigned in the .h files
+#pragma warning(disable : 4305)
#pragma warning(disable : 4309)
#endif
@@ -44,6 +45,7 @@
#include "sky/compacts/z_compac.h"
#ifdef _MSC_VER
+#pragma warning(default : 4305)
#pragma warning(default : 4309)
#endif