fixup c++ style in offset_converter