mirror of
https://github.com/golang/go
synced 2024-11-13 17:30:24 -07:00
runtime: fix c compiler warning
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6185047
This commit is contained in:
parent
018bcc3535
commit
a29304bfb8
@ -197,12 +197,14 @@ void
|
|||||||
runtime·int64tofloat64(Vlong y, double d)
|
runtime·int64tofloat64(Vlong y, double d)
|
||||||
{
|
{
|
||||||
d = _v2d(y);
|
d = _v2d(y);
|
||||||
|
USED(&d); // FLUSH
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
runtime·uint64tofloat64(Vlong y, double d)
|
runtime·uint64tofloat64(Vlong y, double d)
|
||||||
{
|
{
|
||||||
d = _ul2d(y.hi)*4294967296. + _ul2d(y.lo);
|
d = _ul2d(y.hi)*4294967296. + _ul2d(y.lo);
|
||||||
|
USED(&d); // FLUSH
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user