Fix coping int to char*.