fix for warning C4244 ..... possible loss of data under MSVC

This commit is contained in:
Enrico Sorichetti
2012-03-28 15:37:36 +02:00
parent 5977e20ab2
commit 8144bf5e22
2 changed files with 21 additions and 0 deletions

View File

@@ -19,6 +19,13 @@
#if !defined(DECNUMBER)
#define DECNUMBER
#if defined( _MSVC_ )
/* disable some MSVC compiler warnings */
/* for 64bits builds under WINDOWS 7 */
#pragma warning( disable: 4244 ) // "conversion from 'x' to 'y', possible loss of data"
#endif
#define DECNAME "decNumber" /* Short name */
#define DECFULLNAME "Decimal Number Module" /* Verbose name */
#define DECAUTHOR "Mike Cowlishaw" /* Who to blame */