The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=9821e24441bc8f84f6d8fb15dac7455f6a221003

commit 9821e24441bc8f84f6d8fb15dac7455f6a221003
Author:     John Baldwin <j...@freebsd.org>
AuthorDate: 2022-11-23 18:35:14 +0000
Commit:     John Baldwin <j...@freebsd.org>
CommitDate: 2022-11-23 18:35:14 +0000

    makefs zfs: Use signed values for both results of ?:.
    
    Reported by:    GCC -Wsign-compare
    Reviewed by:    markj
    Differential Revision:  https://reviews.freebsd.org/D37468
---
 usr.sbin/makefs/zfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/makefs/zfs.c b/usr.sbin/makefs/zfs.c
index 4e8c94afb0de..b92d08734d59 100644
--- a/usr.sbin/makefs/zfs.c
+++ b/usr.sbin/makefs/zfs.c
@@ -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));
 

Reply via email to