What's the "standard C++" way of doing it? If memory serves, explicit casting doesn't remove the warning. The promotion is safe to do. doesn't change anything. It doesn't help much to tell me to use ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results