robertkrimen / otto

A JavaScript interpreter in Go (golang)
http://godoc.org/github.com/robertkrimen/otto
MIT License
8.04k stars 584 forks source link

fix: constant overflow for date tests #462

Closed stevenh closed 1 year ago

stevenh commented 1 year ago

Fix constant overflow for date tests on 32bit architectures which have int as 32bit not 64bit.

Fixes #351