=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/diff/diffdir.c,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/usr.bin/diff/diffdir.c 2003/06/25 03:29:46 1.5 --- src/usr.bin/diff/diffdir.c 2003/06/25 03:32:11 1.6 *************** *** 1,4 **** ! /* $OpenBSD: diffdir.c,v 1.5 2003/06/25 03:29:46 deraadt Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. --- 1,4 ---- ! /* $OpenBSD: diffdir.c,v 1.6 2003/06/25 03:32:11 deraadt Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. *************** *** 419,425 **** int cnt; char *cp; ! lseek(f, 0, 0); cnt = read(f, buf, BUFSIZ); cp = buf; while (--cnt >= 0) --- 419,425 ---- int cnt; char *cp; ! lseek(f, (off_t)0, SEEK_SET); cnt = read(f, buf, BUFSIZ); cp = buf; while (--cnt >= 0)