We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
GetCPUInfo()
1 parent 1ba10db commit b0089a5Copy full SHA for b0089a5
src/node_os.cc
@@ -168,7 +168,7 @@ static void GetCPUInfo(const FunctionCallbackInfo<Value>& args) {
168
Local<Array> cpus = args[2].As<Array>();
169
170
Local<Value> model_argv[NODE_PUSH_VAL_TO_ARRAY_MAX];
171
- int model_idx = 0;
+ unsigned int model_idx = 0;
172
173
for (i = 0, field_idx = 0; i < count; i++) {
174
uv_cpu_info_t* ci = cpu_infos + i;
0 commit comments