Fixed some type conversion warnings from VS
Article 06 done for windows