git: Fix GCC 12.5's -Wenum-conversion warnings.
Sascha Wildner
swildner at crater.dragonflybsd.org
Fri Apr 3 14:40:25 PDT 2026
commit c24ee53dac1a6988d0d688a747106579e46fbdb6
Author: Sascha Wildner <saw at online.de>
Date: Fri Apr 3 23:39:57 2026 +0200
Fix GCC 12.5's -Wenum-conversion warnings.
It was introduced in GCC 10 and is part of -Wextra.
All affected enums are compatible, so just cast.
Summary of changes:
libexec/ypxfr/ypxfr_getmap.c | 4 ++--
libexec/ypxfr/ypxfr_main.c | 10 ++++++----
libexec/ypxfr/ypxfr_misc.c | 32 ++++++++++++++++----------------
usr.sbin/rpc.lockd/lock_proc.c | 12 ++++++------
usr.sbin/yppush/yppush_main.c | 4 ++--
5 files changed, 32 insertions(+), 30 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c24ee53dac1a6988d0d688a747106579e46fbdb6
--
DragonFly BSD source repository
More information about the Commits
mailing list