1
0
mirror of https://github.com/golang/go synced 2024-11-15 05:20:21 -07:00

[release-branch.go1] runtime: fix c compiler warning

««« backport e388ce51be75
runtime: fix c compiler warning

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6185047

»»»
This commit is contained in:
Shenghou Ma 2012-06-13 16:23:43 -04:00
parent 778529bd58
commit c60564f59b

View File

@ -197,12 +197,14 @@ void
runtime·int64tofloat64(Vlong y, double d)
{
d = _v2d(y);
USED(&d); // FLUSH
}
void
runtime·uint64tofloat64(Vlong y, double d)
{
d = _ul2d(y.hi)*4294967296. + _ul2d(y.lo);
USED(&d); // FLUSH
}
static void