Cast store pointer to void *.
Fixing some silly mistakes.