Fix pointer casting problem.