Opened 14 years ago

Closed 13 years ago

#2745 closed Bugs (fixed)

save_array_type should use std::size_t not int

Reported by: boost@… Owned by: Matthias Troyer
Milestone: Boost 1.39.0 Component: serialization
Version: Boost 1.37.0 Severity: Problem
Keywords: Cc:

Description

vendor\boost_1_37_0\boost/archive/detail/oserializer.hpp(482) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data vendor\boost_1_37_0\boost/archive/detail/iserializer.hpp(480) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data

Should be using size_t I believe.

Change History (3)

comment:1 by anonymous, 14 years ago

Similar issues:

vendor\boost_1_37_0\boost/archive/basic_binary_oarchive.hpp(108) vendor\boost_1_37_0\boost/archive/impl/archive_pointer_oserializer.ipp(80)

comment:2 by Robert Ramey, 14 years ago

Owner: changed from Robert Ramey to Matthias Troyer

Matthias,

Could you answer this? I've forgotten the details on this issue which has always been a minor annoyance.

Robert

comment:3 by anonymous, 13 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.