mirror of https://github.com/golang/go.git
runtime: fix arm build
TBR=rsc R=rsc CC=golang-codereviews https://golang.org/cl/140990043
This commit is contained in:
parent
91a670d179
commit
1b47af2199
|
|
@ -58,7 +58,7 @@ runtime·xchgp(void* volatile* addr, void* v)
|
|||
void*
|
||||
runtime·xchguintptr(void* volatile* addr, void* v)
|
||||
{
|
||||
return runtime·xchg((uint32*)addr, (uint32)v);
|
||||
return (void*)runtime·xchg((uint32*)addr, (uint32)v);
|
||||
}
|
||||
|
||||
#pragma textflag NOSPLIT
|
||||
|
|
|
|||
Loading…
Reference in New Issue