mirror of
https://github.com/golang/go
synced 2024-11-18 22:34:45 -07:00
runtime: fix int64 reconstruction in semasleep
I had this right in one of my clients, but apparently not the one I submitted from. Fixes 386 builds. TBR=dfc CC=golang-codereviews https://golang.org/cl/138000045
This commit is contained in:
parent
a915cb47ee
commit
b143feb143
@ -418,7 +418,7 @@ semasleep(void)
|
|||||||
int32 r, secs, nsecs;
|
int32 r, secs, nsecs;
|
||||||
int64 ns;
|
int64 ns;
|
||||||
|
|
||||||
ns = g->m->scalararg[0] | g->m->scalararg[1]<<32;
|
ns = (int64)(uint32)g->m->scalararg[0] | (int64)(uint32)g->m->scalararg[1]<<32;
|
||||||
g->m->scalararg[0] = 0;
|
g->m->scalararg[0] = 0;
|
||||||
g->m->scalararg[1] = 0;
|
g->m->scalararg[1] = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user