diff --git a/src/env.cc b/src/env.cc index 244c6d8be37..f691803039e 100644 --- a/src/env.cc +++ b/src/env.cc @@ -617,7 +617,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)); }