Automatic Type Casting In Compiler