comparison 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
comparison
equal deleted inserted replaced
880:2dfd05525e2e 881:1c2faa8325d1
1660 e->type = Type::tvoid->arrayOf(); 1660 e->type = Type::tvoid->arrayOf();
1661 } 1661 }
1662 arguments->push(e); 1662 arguments->push(e);
1663 1663
1664 if (!dup) 1664 if (!dup)
1665 arguments->push(new IntegerExp(0, size, Type::tint32)); 1665 arguments->push(new IntegerExp(0, size, Type::tsize_t));
1666 e = new CallExp(e->loc, ec, arguments); 1666 e = new CallExp(e->loc, ec, arguments);
1667 e->type = next->arrayOf(); 1667 e->type = next->arrayOf();
1668 } 1668 }
1669 else if (ident == Id::sort) 1669 else if (ident == Id::sort)
1670 { 1670 {