> Is it possible in all four places to put:
>    static_cast<unsigned int>(tol.size())
> instead of:
>    tol.size()

Yes, this will silence the warning (although it doesn't actually change the 
generated code), and it is safe (as long as you have < 2^32 constraints).


_______________________________________________
NLopt-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/nlopt-discuss

Reply via email to