
Hello, File boost/archive/basic_binary_iprimitive.hpp contains two typos in the body of basic_binary_iprimitive::load_binary function definition. The first typo is in line 163: std::streamsize s = count / sizeof(Elem); std::streamsize scount = m_sb.sgetn( static_cast<Elem *>(address), s ); if(count != static_cast<std::size_t>(s)) // line 163 Should be instead: std::streamsize s = count / sizeof(Elem); std::streamsize scount = m_sb.sgetn( static_cast<Elem *>(address), s ); if(scount != static_cast<std::size_t>(s)) // line 163 And the second typo is in line 174: Elem t; scount = m_sb.sgetn(& t, 1); if(count != 1) // line 174 Should be instead: Elem t; scount = m_sb.sgetn(& t, 1); if(scount != 1) -- Vyacheslav E. Andrejev System Architect, Optech International, Inc. E-mail: mortituris@mail.ru