diff --git a/src/env.cc b/src/env.cc index bea42aa10774f8..0e9a8772fb2872 100644 --- a/src/env.cc +++ b/src/env.cc @@ -536,7 +536,7 @@ Local Environment::GetNow() { CHECK_GE(now, timer_base()); now -= timer_base(); if (now <= 0xffffffff) - return Integer::New(isolate(), static_cast(now)); + return Integer::NewFromUnsigned(isolate(), static_cast(now)); else return Number::New(isolate(), static_cast(now)); }