On Sun, Oct 23, 2011 at 09:25:26PM +0200, Michael Stefaniuc wrote:
No clue anyway why MSVC even warns, integer to integer conversions are allowed. ...
Generally better to turn off MSVC's over-pedantic warnings about integer conversions. Using casts for integer convertions can actually hide other issues (like accidentally casting a pointer type).
David