runtime: fix arm build

TBR=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/140990043
This commit is contained in:
Dmitriy Vyukov 2014-09-04 10:16:57 +04:00
parent 91a670d179
commit 1b47af2199
1 changed files with 1 additions and 1 deletions

View File

@ -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