summaryrefslogtreecommitdiffstats
path: root/Utilities/cmexpat/lib/winconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmexpat/lib/winconfig.h')
-rw-r--r--Utilities/cmexpat/lib/winconfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Utilities/cmexpat/lib/winconfig.h b/Utilities/cmexpat/lib/winconfig.h
index 908d714..d7dad38 100644
--- a/Utilities/cmexpat/lib/winconfig.h
+++ b/Utilities/cmexpat/lib/winconfig.h
@@ -19,4 +19,9 @@
#include "expat_config.h"
+#if defined(_MSC_VER)
+# pragma warning(push,1)
+# pragma warning(disable:4311) /* pointer truncation */
+#endif
+
#endif /* ndef WINCONFIG_H */