Fixed few minor type conversion warnings