]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.16] runtime/cgo: add cast in C code to avoid C compiler warning
authorIan Lance Taylor <iant@golang.org>
Wed, 17 Feb 2021 20:03:13 +0000 (12:03 -0800)
committerIan Lance Taylor <iant@golang.org>
Thu, 18 Feb 2021 03:06:52 +0000 (03:06 +0000)
commit1a7e9af1536280fc90a9adea9c3ae5b4be968898
tree8fe80404ed2eda09fc2fc377186d1bfe3d58f841
parentf21be2fdc6f1becdbed1592ea0b245cdeedc5ac8
[release-branch.go1.16] runtime/cgo: add cast in C code to avoid C compiler warning

For #44340
Fixes #44346

Change-Id: Id80dd1f44a988b653933732afcc8e49a826affc4
Reviewed-on: https://go-review.googlesource.com/c/go/+/293209
Reviewed-by: Andrew G. Morgan <agm@google.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
(cherry picked from commit 07ef3135253321176704bce6e629a07ac02bf1c6)
Reviewed-on: https://go-review.googlesource.com/c/go/+/293411
TryBot-Result: Go Bot <gobot@golang.org>
src/runtime/cgo/linux_syscall.c