fix off_t warning