[Scummvm-cvs-logs] CVS: scummvm/sky compact.cpp,1.12,1.13

Jamieson Christian jamieson630 at users.sourceforge.net
Tue Jun 10 22:07:06 CEST 2003


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv22537/scummvm/sky

Modified Files:
	compact.cpp 
Log Message:
Added MSVC6 truncation warning to #pragma

Index: compact.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/compact.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- compact.cpp	9 Jun 2003 02:33:26 -0000	1.12
+++ compact.cpp	11 Jun 2003 05:06:22 -0000	1.13
@@ -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
 





More information about the Scummvm-git-logs mailing list