windows port of article 07
Type conversion warnings in VS