portable serializer: use signed char for size

This commit is contained in:
kenshi84 2017-01-06 08:37:15 +09:00
parent dd580d7bc7
commit 9d1d3a454e
3 changed files with 7 additions and 4 deletions

View file

@ -234,7 +234,7 @@ namespace boost { namespace archive {
inline void
portable_binary_iarchive::load_impl(boost::intmax_t & l, char maxsize){
char size;
signed char size;
l = 0;
this->primitive_base_t::load(size);