Fixed a bug related to passing a pointer.
Merge pull request #2 from jimmysong/fix

Fixed a bug related to passing a pointer.