Fixed cast.
Fixed pointer.