Fixed 64bit problem in mtype.c with _adReverse runtime call, fixes #161 .

This commit is contained in:
Tomas Lindquist Olsen
2009-01-10 14:35:48 +01:00
parent 0816e84138
commit 6f3aff87df

View File

@@ -1662,7 +1662,7 @@ Expression *TypeArray::dotExp(Scope *sc, Expression *e, Identifier *ident)
arguments->push(e);
if (!dup)
arguments->push(new IntegerExp(0, size, Type::tint32));
arguments->push(new IntegerExp(0, size, Type::tsize_t));
e = new CallExp(e->loc, ec, arguments);
e->type = next->arrayOf();
}