Skip to content

Commit

Permalink
XS: #807
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Soquet committed Jan 26, 2022
1 parent cf213e8 commit e140f29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xs/sources/xsType.c
Expand Up @@ -327,7 +327,7 @@ void fxOrdinaryCall(txMachine* the, txSlot* instance, txSlot* _this, txSlot* arg

void fxOrdinaryConstruct(txMachine* the, txSlot* instance, txSlot* arguments, txSlot* target)
{
txInteger c, i;
txIndex c, i;
/* THIS */
mxPushUninitialized();
/* FUNCTION */
Expand All @@ -343,7 +343,7 @@ void fxOrdinaryConstruct(txMachine* the, txSlot* instance, txSlot* arguments, tx
/* ARGUMENTS */
mxPushSlot(arguments);
mxGetID(mxID(_length));
c = fxToInteger(the, the->stack);
c = (txIndex)fxToLength(the, the->stack);
mxPop();
for (i = 0; i < c; i++) {
mxPushSlot(arguments);
Expand Down

0 comments on commit e140f29

Please sign in to comment.