diff --git a/dmd2/mtype.c b/dmd2/mtype.c index b2f3711e..8b872465 100644 --- a/dmd2/mtype.c +++ b/dmd2/mtype.c @@ -1890,7 +1890,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); if (ident == Id::idup) { Type *einv = next->invariantOf();