Mercurial > projects > ldc
diff dmd2/expression.c @ 892:063ba84a965f
Also apply custom allocator size_t change to DMD2 frontend.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 18 Jan 2009 13:18:31 +0100 |
parents | 356e65836fb5 |
children | 39cf8fa483fd |
line wrap: on
line diff
--- a/dmd2/expression.c Sun Jan 18 13:10:19 2009 +0100 +++ b/dmd2/expression.c Sun Jan 18 13:18:31 2009 +0100 @@ -3537,8 +3537,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);