mirror of
https://github.com/rubyjs/therubyracer
synced 2023-03-27 23:21:42 -04:00
remove compiler warning.
This commit is contained in:
parent
90571bb1a4
commit
f12ce20015
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ namespace {
|
|||
Handle<Array> args = V8_Ref_Get<Array>(arguments);
|
||||
int argc = args->Length();
|
||||
Handle<Value> argv[argc];
|
||||
for (uint i = 0; i < argc; i++) {
|
||||
for (int i = 0; i < argc; i++) {
|
||||
argv[i] = args->Get(i);
|
||||
}
|
||||
return rr_v82rb(function->NewInstance(argc, argv));
|
||||
|
|
Loading…
Add table
Reference in a new issue