diff options
author | avg <avg@FreeBSD.org> | 2011-09-13 14:07:05 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2011-09-13 14:07:05 +0000 |
commit | 94836c37a8acf5b7641edab31508c8e5e846c1d5 (patch) | |
tree | e0e05013b7c262802d7da724314af10309ffa9bd /sys/cddl | |
parent | 85867a4f6ca6828664f36d7198c5cc29ccff0453 (diff) | |
download | FreeBSD-src-94836c37a8acf5b7641edab31508c8e5e846c1d5.zip FreeBSD-src-94836c37a8acf5b7641edab31508c8e5e846c1d5.tar.gz |
zfs boot subroutines: correctly specify type of an integer literal
Found by adding more warning flags to zfs boot blocks build.
Approved by: re (kib)
MFC after: 1 week
Diffstat (limited to 'sys/cddl')
-rw-r--r-- | sys/cddl/boot/zfs/zfssubr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/boot/zfs/zfssubr.c b/sys/cddl/boot/zfs/zfssubr.c index 5022292..e76c273 100644 --- a/sys/cddl/boot/zfs/zfssubr.c +++ b/sys/cddl/boot/zfs/zfssubr.c @@ -328,7 +328,7 @@ typedef struct raidz_map { (mask) = (x) & 0x8080808080808080ULL; \ (mask) = ((mask) << 1) - ((mask) >> 7); \ (x) = (((x) << 1) & 0xfefefefefefefefeULL) ^ \ - ((mask) & 0x1d1d1d1d1d1d1d1d); \ + ((mask) & 0x1d1d1d1d1d1d1d1dULL); \ } #define VDEV_RAIDZ_64MUL_4(x, mask) \ |