summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-08-13 16:14:58 +0200
committerMichael Stahl <mstahl@redhat.com>2014-08-13 16:15:34 +0200
commit1cf299efcce79c686544d2ff034f916f93f69920 (patch)
treef908bbf2ff5d0d95bcda8bcd3103b70dfcb5540d /l10ntools
parent0201156f938af5bede5e3935048e81e88534ca10 (diff)
l10ntools: suppress warning C4245 from boost/crc.hpp
Change-Id: I2ed53b4f902ae694fc064375e8a9cfeba32f9d1c
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/po.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx
index 5b40e8c60b43..bc599a098384 100644
--- a/l10ntools/source/po.cxx
+++ b/l10ntools/source/po.cxx
@@ -16,7 +16,15 @@
#include <vector>
#include <string>
+#ifdef _MSC_VER
+#pragma warning (push, 1)
+#pragma warning (disable: 4245)
+#endif
#include <boost/crc.hpp>
+#ifdef _MSC_VER
+#pragma warning (pop)
+#endif
+
#include "po.hxx"
#include "helper.hxx"