Mercurial > projects > ldc
changeset 882:eb936607f071
same fix appled to dmd2 frontend
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sat, 10 Jan 2009 14:37:48 +0100 |
parents | 1c2faa8325d1 |
children | a166ba5bdf2d |
files | dmd2/mtype.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dmd2/mtype.c Sat Jan 10 14:35:48 2009 +0100 +++ b/dmd2/mtype.c Sat Jan 10 14:37:48 2009 +0100 @@ -1890,7 +1890,7 @@ 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();