From f090cea4cbbc0460341a092c1ff244256dbd287e Mon Sep 17 00:00:00 2001 From: Tomas Lindquist Olsen Date: Sat, 10 Jan 2009 14:37:48 +0100 Subject: [PATCH] same fix appled to dmd2 frontend --- dmd2/mtype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();