Fixed wrong pointer type of last commit.