diff --git a/src/node.h b/src/node.h index 0d93d35ec2..5a246a1607 100644 --- a/src/node.h +++ b/src/node.h @@ -103,7 +103,7 @@ void EmitExit(v8::Handle process); #define NODE_DEFINE_CONSTANT(target, constant) \ (target)->Set(v8::String::NewSymbol(#constant), \ - v8::Integer::New(constant), \ + v8::Number::New(constant), \ static_cast( \ v8::ReadOnly|v8::DontDelete))