git: sbin/hammer2: Fix compile warning on Linux distros

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Mon Aug 19 07:26:16 PDT 2019


commit 7b6e31434d6cfacca7571395a47eaa2ac7017d59
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Mon Aug 19 23:03:52 2019 +0900

    sbin/hammer2: Fix compile warning on Linux distros
    
    --
    cmd_debug.c: In function 'show_bref':
    cmd_debug.c:812: warning: pointer targets in passing argument 2 of 'CountFreeBlocks' differ in signedness
    cmd_debug.c:42: note: expected 'hammer2_off_t *' but argument is of type 'int64_t *'
    cmd_debug.c:812: warning: pointer targets in passing argument 3 of 'CountFreeBlocks' differ in signedness
    cmd_debug.c:42: note: expected 'hammer2_off_t *' but argument is of type 'int64_t *'
    
    cmd_debug.c: In function 'cmd_hash':
    cmd_debug.c:890: warning: pointer targets in passing argument 1 of 'dirhash' differ in signedness

Summary of changes:
 sbin/hammer2/cmd_debug.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7b6e31434d6cfacca7571395a47eaa2ac7017d59


-- 
DragonFly BSD source repository



More information about the Commits mailing list