Skip to content

Commit

Permalink
XS: #441
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Soquet committed Sep 8, 2020
1 parent 404c84d commit 644d63b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xs/sources/xsFunction.c
Expand Up @@ -348,7 +348,7 @@ void fx_Function_prototype_apply(txMachine* the)
fxToInstance(the, mxArgv(1));
mxPushSlot(mxArgv(1));
fxGetID(the, mxID(_length));
c = fxToInteger(the, the->stack);
c = (txInteger)fxToLength(the, the->stack);
the->stack++;
for (i = 0; i < c; i++) {
mxPushSlot(mxArgv(1));
Expand Down

0 comments on commit 644d63b

Please sign in to comment.