|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r85243 - trunk/boost/archive
From: john_at_[hidden]
Date: 2013-08-08 14:05:38
Author: johnmaddock
Date: 2013-08-08 14:05:37 EDT (Thu, 08 Aug 2013)
New Revision: 85243
URL: http://svn.boost.org/trac/boost/changeset/85243
Log:
Suppress msvc warnings.
Text files modified:
trunk/boost/archive/basic_binary_iprimitive.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/archive/basic_binary_iprimitive.hpp
==============================================================================
--- trunk/boost/archive/basic_binary_iprimitive.hpp Thu Aug 8 13:52:19 2013 (r85242)
+++ trunk/boost/archive/basic_binary_iprimitive.hpp 2013-08-08 14:05:37 EDT (Thu, 08 Aug 2013) (r85243)
@@ -178,7 +178,7 @@
boost::serialization::throw_exception(
archive_exception(archive_exception::input_stream_error)
);
- std::memcpy(static_cast<char*>(address) + (count - s), &t, s);
+ std::memcpy(static_cast<char*>(address) + (count - s), &t, static_cast<std::size_t>(s));
}
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk