mirror of
https://github.com/golang/go
synced 2024-11-24 23:07:56 -07:00
runtime/cgo: silence warning on windows
It appears to want a * on an indirect function call (assembly language) TBR=rsc R=golang-dev CC=golang-dev https://golang.org/cl/5643054
This commit is contained in:
parent
9af4b01654
commit
0bd53d2ce0
@ -70,7 +70,7 @@ EXT(crosscall2):
|
||||
movq %rdx, 0(%rsp) /* arg */
|
||||
movq %r8, 8(%rsp) /* argsize (includes padding) */
|
||||
|
||||
call %rcx /* fn */
|
||||
call *%rcx /* fn */
|
||||
#else
|
||||
movq %rsi, 0(%rsp) /* arg */
|
||||
movq %rdx, 8(%rsp) /* argsize (includes padding) */
|
||||
|
Loading…
Reference in New Issue
Block a user