From: Kirk McKusick Date: Thu, 10 Dec 1981 07:29:17 +0000 (-0800) Subject: lint cleanup X-Git-Tag: BSD-4_1_snap-Snapshot-Development~347 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/e0fad8f4fdce543a620a363464ca0b4fa1988d86 lint cleanup SCCS-vsn: sys/ufs/ffs/fs.h 1.8 --- diff --git a/usr/src/sys/ufs/ffs/fs.h b/usr/src/sys/ufs/ffs/fs.h index 153539e163..99adbe1f60 100644 --- a/usr/src/sys/ufs/ffs/fs.h +++ b/usr/src/sys/ufs/ffs/fs.h @@ -1,6 +1,6 @@ /* Copyright (c) 1981 Regents of the University of California */ -/* fs.h 1.7 %G% */ +/* fs.h 1.8 %G% */ /* * Each disk drive contains some number of file systems. @@ -156,7 +156,7 @@ struct fs #define itog(x,fs) ((x)/(fs)->fs_ipg) /* turn inode number into disk block address */ -#define itod(x,fs) (cgimin(itog(x,fs),fs)+FRAG*((x)%(fs)->fs_ipg/INOPB)) +#define itod(x,fs) ((daddr_t)(cgimin(itog(x,fs),fs)+FRAG*((x)%(fs)->fs_ipg/INOPB))) /* turn inode number into disk block offset */ #define itoo(x) ((x)%INOPB)