makefs zfs: Use signed values for both results of ?:.
Reported by: GCC -Wsign-compare Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D37468
This commit is contained in:
parent
eafafebe47
commit
9821e24441
@ -608,7 +608,7 @@ dnode_cursor_init(zfs_opt_t *zfs, zfs_objset_t *os, dnode_phys_t *dnode,
|
||||
if (blksz == 0) {
|
||||
/* Must be between 1<<ashift and 128KB. */
|
||||
blksz = MIN(MAXBLOCKSIZE, MAX(1 << zfs->ashift,
|
||||
powerof2(size) ? size : (1ul << flsll(size))));
|
||||
powerof2(size) ? size : (1l << flsll(size))));
|
||||
}
|
||||
assert(powerof2(blksz));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user