Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ufs/ffs one more cast
details: https://anonhg.NetBSD.org/src/rev/67133836dc76
branches: trunk
changeset: 778915:67133836dc76
user: christos <christos%NetBSD.org@localhost>
date: Fri Apr 20 02:07:43 2012 +0000
description:
one more cast
diffstat:
sys/ufs/ffs/fs.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 06bdb02d6f47 -r 67133836dc76 sys/ufs/ffs/fs.h
--- a/sys/ufs/ffs/fs.h Fri Apr 20 00:40:31 2012 +0000
+++ b/sys/ufs/ffs/fs.h Fri Apr 20 02:07:43 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fs.h,v 1.57 2012/04/19 17:25:38 christos Exp $ */
+/* $NetBSD: fs.h,v 1.58 2012/04/20 02:07:43 christos Exp $ */
/*
* Copyright (c) 1982, 1986, 1993
@@ -710,7 +710,7 @@
#define sblksize(fs, size, lbn) \
(((lbn) >= NDADDR || (size) >= ((lbn) + 1) << (fs)->fs_bshift) \
? (uint64_t)(fs)->fs_bsize \
- : (fragroundup(fs, blkoff(fs, (size)))))
+ : (fragroundup(fs, blkoff(fs, (uint64_t)(size)))))
/*
Home |
Main Index |
Thread Index |
Old Index