The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=26d56dec1e0e3bab571a00fcb9c39d3269fbcf97
commit 26d56dec1e0e3bab571a00fcb9c39d3269fbcf97 Author: Jessica Clarke <jrt...@freebsd.org> AuthorDate: 2025-09-09 13:27:02 +0000 Commit: Jessica Clarke <jrt...@freebsd.org> CommitDate: 2025-09-09 13:27:02 +0000 certctl: Use __DECONST rather than reimplementing --- usr.sbin/certctl/certctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/certctl/certctl.c b/usr.sbin/certctl/certctl.c index 3601f6929fc4..15143c3b0582 100644 --- a/usr.sbin/certctl/certctl.c +++ b/usr.sbin/certctl/certctl.c @@ -379,7 +379,7 @@ static int read_certs(const char *path, struct cert_tree *tree, struct cert_tree *exclude) { struct stat sb; - char *paths[] = { (char *)(uintptr_t)path, NULL }; + char *paths[] = { __DECONST(char *, path), NULL }; FTS *fts; FTSENT *ent; int fts_options = FTS_LOGICAL | FTS_NOCHDIR;