# | Line 519 | Line 519 | myseeko(const LUENT *e, void *p) | |
---|---|---|
519 | off_t nbytes = *(off_t *)p; | |
520 | ||
521 | if (sop->reclen > 1) | |
522 | < | nbytes = nbytes * sop->reclen; |
522 | > | nbytes *= (off_t)sop->reclen; |
523 | if (fseeko(sop->ofp, nbytes, SEEK_CUR) < 0) { | |
524 | sprintf(errmsg, "seek error on file '%s'", e->key); | |
525 | error(SYSTEM, errmsg); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |