Use ptr::offset
Merge pull request #1 from cmr/master

Use ptr::offset