git: sbin/newfs_hammer2: Fix compile-time warning on Linux distros (gcc6)

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Thu Oct 12 13:49:17 PDT 2017


commit c838491916926c7fe3e2a1927f953b794f44fc4f
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Thu Oct 12 22:57:45 2017 +0300

    sbin/newfs_hammer2: Fix compile-time warning on Linux distros (gcc6)
    
    --
    warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
    warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]

Summary of changes:
 sbin/newfs_hammer2/newfs_hammer2.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c838491916926c7fe3e2a1927f953b794f44fc4f


-- 
DragonFly BSD source repository



More information about the Commits mailing list