telldir return value and seekdir second parameters are of type long

not off_t .. since a pretty long time.