git: usr.sbin/fstyp: Fix warning on Linux distros

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Thu Oct 31 22:08:09 PDT 2019


commit 4a4aa420b3788e9feb3cf3fa5c2d0c6c62d35102
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Fri Nov 1 08:47:02 2019 +0900

    usr.sbin/fstyp: Fix warning on Linux distros
    
    hammer2.c:134: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness
    /usr/include/string.h:143: note: expected 'const char *' but argument is of type 'unsigned char *'

Summary of changes:
 usr.sbin/fstyp/hammer2.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4a4aa420b3788e9feb3cf3fa5c2d0c6c62d35102


-- 
DragonFly BSD source repository


More information about the Commits mailing list