git: usr.sbin/makefs/hammer2: Fix minor -Wchar-subscripts warning on NetBSD

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Jun 18 22:49:32 PDT 2023


commit bca6a9a07f58b96227b99d0df53d3113c075a9ae
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Mon Jun 19 00:45:34 2023 -0700

    usr.sbin/makefs/hammer2: Fix minor -Wchar-subscripts warning on NetBSD
    
    Also fix local variable name from 6857f034386455e55e5ca87b75b84db5fcc3522e.
    
    --
    warning: array subscript has type 'char' [-Wchar-subscripts]
     1694 |  } else if (isdigit(comp_level_str[0])) {

Summary of changes:
 usr.sbin/makefs/hammer2.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list