id summary reporter owner description type status milestone component version severity resolution keywords cc 4636 Run-Time Check Failure #1 in feed_args.hpp using Visual Studio 2010 Rüdiger Brünner James E. King, III "Hello, the statement size_type res_size = (std::min)( static_cast(specs.truncate_ - !!prefix_space), buf.pcount() ); on line 166 ff. causes an error message in Debug mode in VS 2010 when run-time checks are enabled: ""Run-Time Check Failure #1 - A cast to a smaller data type has caused a loss of data. If this was intentional, you should mask the source of the cast with the appropriate bitmask. For example: char c = (i & 0xFF); Changing the code in this way will not affect the quality of the resulting optimized code."" The value of specs.truncate_ (64 bits) is LLONG_MAX that is going to be cast down to a size_t (32 bits). This causes that warning. Would it be feasible to initalise the truncate_ member to INT_MAX on 32 bit systems to avoid this issue? This message is *very* annoying since it pops up very frequently. Best regards Rüdiger " Bugs closed Boost 1.66.0 format Boost 1.43.0 Problem fixed RTC VS2010 MSVC10