disable warning "conversion from 'size_t' to 'int', possible loss of data"

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5514 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-08-01 21:14:17 +00:00
parent 10f5b84536
commit df140bc2bb
+1
View File
@@ -87,6 +87,7 @@ static inline float round(float x) { return floor(x + 0.5f); }
#ifndef __GNUC__
#pragma warning (3: 4189) // local variable is initialized but not referenced
#pragma warning (disable: 4244) // conversion from 'int' to 'float', possible loss of data
#pragma warning (disable: 4267) // conversion from 'size_t' to 'int', possible loss of data
#pragma warning (disable: 4355) // 'this' : used in base member initializer list
#pragma warning (disable: 4996) // 'strncpy' was declared deprecated
#endif