OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-577-g2f8b7da
Gerrit Code Review
gerrit@openafs.org
Mon, 31 Aug 2026 11:17:37 -0400
The following commit has been merged in the master branch:
commit 2f8b7da15ff15d7def18af4feff7950ecab3e9cc
Author: Mark Vitale <mvitale@sinenomine.net>
Date: Mon Aug 17 17:24:07 2026 -0400
DARWIN: Eliminate "incompatible function pointer" build error
When building OpenAFS under macos 27 beta (Golden Gate) with
Xcode 27 beta 5, the following build error occurs:
/Users/devlab/src/openafs/src/afs/DARWIN/osi_file.c:202:17: error:
incompatible function pointer types assigning to
'int (*)(struct osi_file *, afs_int32)' (aka 'int (*)(struct osi_file *, int)')
from
'int (*)(void)' [-Wincompatible-function-pointer-types]
202 | afile->proc = (int (*)())0;
| ^ ~~~~~~~~~~~~
Change the assignment to a simple NULL.
Change-Id: Ib4c97233e89e4aa1c0795ac9939b758827cf635e
Reviewed-on: https://gerrit.openafs.org/16948
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/afs/DARWIN/osi_file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
OpenAFS Master Repository