I have a file called tokenise.c it was made in VS 5 so it's a bit old. But I am trying to get it updated to work in 2005
I am getting around 30 C2440 errors and just wondering how I go about fixing them, for example this line:
state->ptr = state->buf = mymalloc(len+1 /* null terminator */);
which is throwing:
Error 1 error C2440: '=' : cannot convert from 'void *' to 'char *' c:\Test2\tokenise.c 22
I've been reading :
but still a little unsure as to how to fix my C files without butchering too much.