aboutsummaryrefslogtreecommitdiff
path: root/external/boost/archive/portable_binary_oarchive.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'external/boost/archive/portable_binary_oarchive.hpp')
-rw-r--r--external/boost/archive/portable_binary_oarchive.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/external/boost/archive/portable_binary_oarchive.hpp b/external/boost/archive/portable_binary_oarchive.hpp
index 8fd7090a1..271647cf7 100644
--- a/external/boost/archive/portable_binary_oarchive.hpp
+++ b/external/boost/archive/portable_binary_oarchive.hpp
@@ -225,7 +225,7 @@ portable_binary_oarchive::save_impl(
const boost::intmax_t l,
const char maxsize
){
- char size = 0;
+ signed char size = 0;
if(l == 0){
this->primitive_base_t::save(size);
@@ -245,7 +245,7 @@ portable_binary_oarchive::save_impl(
}while(ll != 0);
this->primitive_base_t::save(
- static_cast<char>(negative ? -size : size)
+ static_cast<signed char>(negative ? -size : size)
);
if(negative)