diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-25 03:55:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-06-25 03:55:46 +0000 |
commit | 15884a1ea5c69412360e1c3fa7a28972b215d18a (patch) | |
tree | 748971a577152c44eb6290e40b2e1c63b9b8e36e /usr.bin/diff | |
parent | 1571b530af7fedcf72cb82cda9d245d18098a9f6 (diff) |
oops
Diffstat (limited to 'usr.bin/diff')
-rw-r--r-- | usr.bin/diff/diffreg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/diff/diffreg.c b/usr.bin/diff/diffreg.c index ababfefac16..b1076b26da1 100644 --- a/usr.bin/diff/diffreg.c +++ b/usr.bin/diff/diffreg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: diffreg.c,v 1.12 2003/06/25 03:53:59 deraadt Exp $ */ +/* $OpenBSD: diffreg.c,v 1.13 2003/06/25 03:55:45 deraadt Exp $ */ /* * Copyright (C) Caldera International Inc. 2001-2002. @@ -398,7 +398,7 @@ prepare(int i, FILE *fd) struct line *p; int j, h; - fseek(fd, (off_t)0, SEEK_SET); + fseek(fd, 0L, SEEK_SET); p = talloc(3 * sizeof(struct line)); for (j = 0; (h = readhash(fd));) { p = ralloc(p, (++j + 3) * sizeof(struct line)); @@ -1016,7 +1016,7 @@ asciifile(FILE *f) char buf[BUFSIZ], *cp; int cnt; - fseek(f, (off_t)0, SEEK_SET); + fseek(f, 0L, SEEK_SET); cnt = fread(buf, 1, BUFSIZ, f); cp = buf; while (--cnt >= 0) |