added void* casts to stop the compiler from complaining
Merge pull request #5 from kritzikratzi/v008

added void* casts to stop the compiler from complaining