From d2cf112d216ae1d9a564d0e1f8ac03c2ac644d94 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 17 Nov 2003 18:09:44 -0500 Subject: [PATCH] fix size_t From-SVN: r73680 --- gcc/testsuite/g++.dg/init/placement1.C | 2 +- gcc/testsuite/g++.dg/init/placement2.C | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/g++.dg/init/placement1.C b/gcc/testsuite/g++.dg/init/placement1.C index 50030af91db..382fae8ed43 100644 --- a/gcc/testsuite/g++.dg/init/placement1.C +++ b/gcc/testsuite/g++.dg/init/placement1.C @@ -2,7 +2,7 @@ // We were expanding the same TARGET_EXPR twice, for placement new and // delete. -void* operator new (unsigned int, void*) throw(); +void* operator new (__SIZE_TYPE__, void*) throw(); void operator delete (void*, void*) throw(); struct A { A(); }; diff --git a/gcc/testsuite/g++.dg/init/placement2.C b/gcc/testsuite/g++.dg/init/placement2.C index 74122016790..7a9d6d082ba 100644 --- a/gcc/testsuite/g++.dg/init/placement2.C +++ b/gcc/testsuite/g++.dg/init/placement2.C @@ -3,7 +3,7 @@ // { dg-do run } -void* operator new (unsigned int sz, void*) { return operator new (sz); } +void* operator new (__SIZE_TYPE__ sz, void*) { return operator new (sz); } void operator delete (void* p, void*) { operator delete (p); } struct A { A() { throw 1; } };