Reject booleans before accepting integer offsets - Code review | OneNoughtOne