Skip to content

Commit d570ba3

Browse files
authored
[cppia] Fix index argument for jit array set (#1211)
1 parent 3b95937 commit d570ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hx/cppia/ArrayBuiltin.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ struct ArrayBuiltin : public ArrayBuiltinBase
13051305
case af__set:
13061306
{
13071307
JitTemp thisVal(compiler, jtPointer);
1308-
JitTemp index(compiler, jtPointer);
1308+
JitTemp index(compiler, jtInt);
13091309
ExprType elemType = (ExprType)ExprTypeOf<ELEM>::value;
13101310
JitTemp tempVal(compiler, elemType);
13111311

0 commit comments

Comments
 (0)