diff options
Diffstat (limited to 'boost/multiprecision/cpp_int/serialize.hpp')
-rw-r--r-- | boost/multiprecision/cpp_int/serialize.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/multiprecision/cpp_int/serialize.hpp b/boost/multiprecision/cpp_int/serialize.hpp index bdf4758a6e..042a9f89f7 100644 --- a/boost/multiprecision/cpp_int/serialize.hpp +++ b/boost/multiprecision/cpp_int/serialize.hpp @@ -49,7 +49,7 @@ void do_serialize(Archive& ar, Int& val, mpl::false_ const&, mpl::false_ const&, std::size_t limb_count; std::size_t byte_count; ar & byte_count; - limb_count = byte_count / sizeof(limb_type) + (byte_count % sizeof(limb_type) ? 1 : 0); + limb_count = byte_count / sizeof(limb_type) + ((byte_count % sizeof(limb_type)) ? 1 : 0); val.resize(limb_count, limb_count); limb_type* pl = val.limbs(); for(std::size_t i = 0; i < limb_count; ++i) |