Do a find and replace in luaconsole.c (make sure you're searching only luaconsole.c, and not the entire project/solution), and replace all occurrences of (void*) with (char*) (including the parentheses in your search).
You'll also have to go to graphics.c around line 891, and remove the _inline from the line _inline int addchar(pixel *vid, int x, int y, int c, int r, int g, int b, int a) (this is so you won't get linker errors later on).