Fix typo in pointer cast.