From 6f3aff87dfd49188552e7b3f9cf191e92bcb8fcf Mon Sep 17 00:00:00 2001 From: Tomas Lindquist Olsen Date: Sat, 10 Jan 2009 14:35:48 +0100 Subject: [PATCH] Fixed 64bit problem in mtype.c with _adReverse runtime call, fixes #161 . --- dmd/mtype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmd/mtype.c b/dmd/mtype.c index 2932a2e6..3dcd9071 100644 --- a/dmd/mtype.c +++ b/dmd/mtype.c @@ -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(); }