mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cmd/geth: fix 32-bit build
This commit is contained in:
parent
debb1e7d89
commit
5252b09a86
1 changed files with 2 additions and 2 deletions
|
|
@ -51,8 +51,8 @@ func logTest(ctx *cli.Context) error {
|
||||||
{ // int64
|
{ // int64
|
||||||
log.Info("int64", "1,000,000", int64(1000000))
|
log.Info("int64", "1,000,000", int64(1000000))
|
||||||
log.Info("int64", "-1,000,000", int64(-1000000))
|
log.Info("int64", "-1,000,000", int64(-1000000))
|
||||||
log.Info("int64", "9,223,372,036,854,775,807", math.MaxInt64)
|
log.Info("int64", "9,223,372,036,854,775,807", int64(math.MaxInt64))
|
||||||
log.Info("int64", "-9,223,372,036,854,775,808", math.MinInt64)
|
log.Info("int64", "-9,223,372,036,854,775,808", int64(math.MinInt64))
|
||||||
}
|
}
|
||||||
{ // uint64
|
{ // uint64
|
||||||
log.Info("uint64", "1,000,000", uint64(1000000))
|
log.Info("uint64", "1,000,000", uint64(1000000))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue