Mercurial > projects > ldc
diff dmd/mtype.c @ 881:1c2faa8325d1
Fixed 64bit problem in mtype.c with _adReverse runtime call, fixes #161 .
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sat, 10 Jan 2009 14:35:48 +0100 |
parents | 330f999ade44 |
children | 177afbf5297b |
line wrap: on
line diff
--- a/dmd/mtype.c Fri Jan 09 20:08:06 2009 +0100 +++ b/dmd/mtype.c Sat Jan 10 14:35:48 2009 +0100 @@ -1662,7 +1662,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); e->type = next->arrayOf(); }