1
0
mirror of https://github.com/golang/go synced 2024-11-12 04:50:21 -07:00

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-05-05 01:39:09 +08:00
parent 018bcc3535
commit a29304bfb8

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