fixed lseek compile warning (I think)