mirror of
https://github.com/golang/go
synced 2024-11-22 05:24:39 -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)
|
||||
{
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user