id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 2424,unsigned int causes error in seed() without static_cast,pjones13+boost@…,No-Maintainer,"I posted this to the boost-user mailing list and it was recommended to file a ticket here. One must cast a variable as an unsigned int in the seed() function (even though the variable is declared as an unsigned int). Here's a minimal code segment that replicates the behavior: {{{ boost::mt19937 rng; unsigned int rseed = static_cast(std::time(0)); rng.seed( rseed ); // This causes an error rng.seed( static_cast(rseed) ); // This works }}} ",Bugs,closed,Boost 1.37.0,random,Boost 1.36.0,Problem,fixed,,