id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 2816,microsec_clock::create_time(TZ_FOR_CREATE tz) causes 64-to-32 bit warning on 64 bit targets,pelee@…,az_sw_dude,"resolution_traits_type::res_adjust() returns a 64 bit integer when boost is built for a 64 bit target. This leads to a warning about possible truncation when compiling the version of microsec_clock::create_time() that takes a single TZ_FOR_CREATE parameter with -Wshorten-64-to-32 on GCC 4.0.1 for MacOSX. The other version of microsec_clock::create_time() already contains a static_cast to int that prevents this warning. The cast should be used in both methods: {{{ int adjust = static_cast(resolution_traits_type::res_adjust()/1000000); }}} This appears to be fixed in revision @49705 on the release branch (along with a good deal of additional restructuring). ",Bugs,closed,Boost 1.39.0,date_time,Boost 1.36.0,Problem,fixed,,