TooTallNate/ref — pull request #2 by tjfontaine (2012-06-09 16:35:28+00:00)
Title: ReadPointer only reinterpret_cast if not doing pointer arith, fixes #1

When doing the reinterpret_cast of the offset it changed the address of the new pointer, causing all sorts of havoc

```
ReadPointer 0x101816b00 + 0 -- 0x101816b00
Reinterpret_Cast 0x100a1a070
track 0 address 0x100a1a070
ReadPointer 0x101816b00 + 28 -- 0x101816b1c
Reinterpret_Cast 0xb7150000000001
track 1 address 0xb7150000000000
```

This change only does the reinterpret_cast if ReadPointer is called with a 0 offset

Fixes #1