ck_text.c: replaced non-standard itoa() with sprintf()