Corrected typecasting for putchar

uart putchar was getting char, expected int