From 87c5d79fd7f962293e5708b8335f8070f3e514ff Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 12 Apr 2001 19:43:43 +0000 Subject: 2001-04-08 Neal H Walfield * io-write.c (diskfs_S_io_write): Make local variable OFF an off_t and not an int. * io-read.c (diskfs_S_io_read): Likewise. * io-stat.c (diskfs_S_io_stat): Use memcpy, not bcopy. --- libdiskfs/io-read.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdiskfs/io-read.c') diff --git a/libdiskfs/io-read.c b/libdiskfs/io-read.c index 4c2adf31..787c0eae 100644 --- a/libdiskfs/io-read.c +++ b/libdiskfs/io-read.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1994, 1995, 1996, 1997, 1999 Free Software Foundation + Copyright (C) 1994,95,96,97,99,2001 Free Software Foundation This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -29,7 +29,7 @@ diskfs_S_io_read (struct protid *cred, { struct node *np; int err; - int off = offset; + off_t off = offset; char *buf; int ourbuf = 0; -- cgit v1.2.3