Remove unnecessary castPtr.
Remove unnecessary castPtr.

Ignore-this: 991ba4935cf8ae60c11800a1397b7750

darcs-hash:20120612194838-4d2ae-8b15d252d61d6bae4779f81a28e2f57818c211b3

johntyree/HsQML,johntyree/HsQML