rb_serial_t can overflow an int. Maybe SIZET2NUM.