mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
signage warning, and add v8::namespace
This commit is contained in:
1 parent
7a8c729830
commit
7bff70268a
1 file changed
+2
-2
@@ -128,7 +128,7 @@ int Platform::GetCPUInfo(Local<Array> *cpus) {
|
||||
return -1;
|
||||
}
|
||||
*cpus = Array::New(numcpus);
|
||||
for (int i = 0; i < numcpus; i++) {
|
||||
for (unsigned int i = 0; i < numcpus; i++) {
|
||||
cpuinfo = Object::New();
|
||||
cputimes = Object::New();
|
||||
cputimes->Set(String::New("user"),
|
||||
@@ -210,7 +210,7 @@ int Platform::GetLoadAvg(Local<Array> *loads) {
|
||||
}
|
||||
|
||||
|
||||
Handle<Value> Platform::GetInterfaceAddresses() {
|
||||
v8::Handle<v8::Value> Platform::GetInterfaceAddresses() {
|
||||
HandleScope scope;
|
||||
return scope.Close(Object::New());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user