From a26c74c108c2b1c7458ab05d6f85484dda47b827 Mon Sep 17 00:00:00 2001 From: Jamieson Christian Date: Wed, 11 Jun 2003 05:06:22 +0000 Subject: Added MSVC6 truncation warning to #pragma svn-id: r8430 --- sky/compact.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sky') 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 -- cgit v1.2.3