Calculate offset correctly. (Coverity ID 233)
2 files changed