Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
signage warning, and add v8::namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs authored and ry committed Mar 22, 2011
1 parent 7a8c729 commit 7bff702
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform_darwin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -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());
}
Expand Down

0 comments on commit 7bff702

Please sign in to comment.