]> Cypherpunks repositories - gostls13.git/commit
runtime/cgo: fix clang mach_port_t cast warning
authorRoland Shoemaker <roland@golang.org>
Thu, 21 Mar 2024 15:50:04 +0000 (08:50 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 21 Mar 2024 21:04:22 +0000 (21:04 +0000)
commit87056756141798b4dfd51dcaaa3e4ce63633a884
tree48702299561757b92b536be96ebdcdec988221bf
parentb4f37e18b6fa53e63ee0da8ba72cb51d95bb58ae
runtime/cgo: fix clang mach_port_t cast warning

Converting *void directly to mach_port_t causes newer clang to throw a
void-pointer-to-int-cast warning/error.

Change-Id: I709955d4678bed3f690a8337ce85fd8678d217bb
Reviewed-on: https://go-review.googlesource.com/c/go/+/573415
Auto-Submit: Roland Shoemaker <roland@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/runtime/cgo/gcc_signal_ios_arm64.c