[Boost-bugs] [ boost-Bugs-1338178 ] warning caused by size_t to unsigned int conversion on vc++8

Bugs item #1338178, was opened at 2005-10-26 01:10 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1338178&group_id=7586 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: serialization Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Robert Ramey (ramey) Summary: warning caused by size_t to unsigned int conversion on vc++8 Initial Comment: This is in collections_save_imp.hpp, line 36: unsigned int count = s.size(); I get a warning under vc++8: c:\boost\include\boost-1_33\boost\serialization\collections_save_imp.hpp(36) : warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data I don't know if this is a foolish warning or not, or if changing to size_t would be detrimental to other platforms, but I thought I'd point it out just in case. bhiggins@gmail.com ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1338178&group_id=7586 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Boost-bugs mailing list Boost-bugs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/boost-bugs
participants (1)
-
SourceForge.net