redeclare "char buf []" to "char * buf" in "itoa"