git: usr.sbin/fstyp: Make fstypes' precache_encoding const

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Dec 28 06:34:52 PST 2019


commit d555ef730a551a64443f1e964bfacf80879ca343
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sun Dec 29 00:28:08 2019 +0900

    usr.sbin/fstyp: Make fstypes' precache_encoding const
    
    This from f3e1c87543147f0c95d3d9e5d79d4a704e1ab1af should be const.
    Failed to compile on NetBSD with below error.
    "initialization discards 'const' qualifier from pointer target type"

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

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list