If you don't want to mangling with casting which I think would be terrible and unnecessary solution, or use Enjo's method, this should do the trick for you.
void CSM::clbkLoadStateEx (FILEHANDLE scn, void *status)
{
int i = 0;
int tempComp = 0;
char *cbuf;
while...