The error is a warning. "Strtok" is not declared anywhere and hence is assumed to return integer. You stuff it in a char pointer. The C compiler is trying to help you write portable code. -Ron