Mercurial > projects > ldc
diff dmd/expression.c @ 891:ea82e2077f9d
Change custom allocator new size argument to size_t instead of uint. See #175.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 18 Jan 2009 13:10:19 +0100 |
parents | 27a379f288bf |
children | 39cf8fa483fd |
line wrap: on
line diff
--- a/dmd/expression.c Sat Jan 17 17:52:09 2009 +0100 +++ b/dmd/expression.c Sun Jan 18 13:10:19 2009 +0100 @@ -3617,8 +3617,8 @@ if (cd->aggNew) { - // Prepend the uint size argument to newargs[] - Expression *e = new IntegerExp(loc, cd->size(loc), Type::tuns32); + // Prepend the size_t size argument to newargs[] + Expression *e = new IntegerExp(loc, cd->size(loc), Type::tsize_t); if (!newargs) newargs = new Expressions(); newargs->shift(e);