git: kernel - Minor adjustment to set_flags cast
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Jul 9 20:27:42 PDT 2025
commit 46e05447c9ae6ca5cb12b8b082cf1f7523b95fbd
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Wed Jul 9 20:26:09 2025 -0700
kernel - Minor adjustment to set_flags cast
* filedesc flags are a char. Avoid potential future issues by typing
it and cast the int argument from fsetfdflags() to clean the
implementation up a bit. Leave the argument as an int for now.
Summary of changes:
sys/kern/kern_descrip.c | 4 ++--
sys/sys/filedesc.h | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/46e05447c9ae6ca5cb12b8b082cf1f7523b95fbd
--
DragonFly BSD source repository
More information about the Commits
mailing list