I am just trying something with somebody else\'s code.
I have two functions:
int Triangle(Render *render, int numParts, Token *nameList, Pointer *valueLi
If you just change the line
return putTrianglePosition(render, (Coord *)valueList[i]);
into:
Coord* vertexList = (Coord*) valueList[i];
followed by the whole body of what's now putTrianglePosition
from the opening {
to the closing }
included, I believe it should just work. If not, please edit your question to add the exact, complete, code as obtained by this edit and the exact, complete error messages you get.