[Midnightbsd-cvs] [MidnightBSD/src] c84c4f: prowld: fix const-discarding warning on ucl_object...
Lucas Holt
noreply at github.com
Sat Apr 18 17:25:16 EDT 2026
Branch: refs/heads/feature/prowl
Home: https://github.com/MidnightBSD/src
Commit: c84c4fbedcd1e9721fd9459cc564a4480784cc5e
https://github.com/MidnightBSD/src/commit/c84c4fbedcd1e9721fd9459cc564a4480784cc5e
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-04-18 (Sat, 18 Apr 2026)
Changed paths:
M sbin/prowld/prowld.c
Log Message:
-----------
prowld: fix const-discarding warning on ucl_object_unref
ucl_object_unref() takes ucl_object_t * (non-const) since it mutates
the reference count. Split the combined declaration so root is
non-const and obj (lookup-only) stays const.
AI-Assisted-by: Claude Sonnet 4.6
Signed-off-by: Lucas Holt <luke at foolishgames.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications
More information about the Midnightbsd-cvs
mailing list