Commit 1b47af21 authored by Dmitriy Vyukov's avatar Dmitriy Vyukov

runtime: fix arm build

TBR=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/140990043
parent 91a670d1
...@@ -58,7 +58,7 @@ runtime·xchgp(void* volatile* addr, void* v) ...@@ -58,7 +58,7 @@ runtime·xchgp(void* volatile* addr, void* v)
void* void*
runtime·xchguintptr(void* volatile* addr, void* v) 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 #pragma textflag NOSPLIT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment