Change custom allocator new size argument to size_t instead of uint. See #175.

This commit is contained in:
Christian Kamm
2009-01-18 13:10:19 +01:00
parent 4042f90800
commit 4e05607355
2 changed files with 5 additions and 5 deletions

View File

@@ -3617,8 +3617,8 @@ Lagain:
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);