From: Richard Kreckel Date: Wed, 30 Jun 2004 21:51:32 +0000 (+0000) Subject: * src/base/cl_macros.h: alloca(3) has size_t argument type. X-Git-Tag: cln_1-1-8~3 X-Git-Url: https://www.ginac.de/CLN/cln.git//cln.git?a=commitdiff_plain;h=7a0e86b187b77d8dc553cdc74ca695caae872f5c;p=cln.git * src/base/cl_macros.h: alloca(3) has size_t argument type. --- diff --git a/ChangeLog b/ChangeLog index 69b6e18..ae324b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-05-28 Ralf Wildenhues + + * src/base/cl_macros.h: alloca(3) has size_t argument type. + 2004-05-28 Ralf Wildenhues * include/cln/floatformat.h: Do define a type here. diff --git a/src/base/cl_macros.h b/src/base/cl_macros.h index 29787c0..8c160e9 100644 --- a/src/base/cl_macros.h +++ b/src/base/cl_macros.h @@ -95,7 +95,7 @@ namespace cln { #if defined(__osf__) extern "C" char* alloca (int size); #else - extern "C" void* alloca (int size); + extern "C" void* alloca (size_t size); #endif #endif #elif defined(_AIX) @@ -103,7 +103,7 @@ namespace cln { #elif defined(WATCOM) #include // defines `alloca' as a macro #elif !defined(NO_ALLOCA) - extern "C" void* alloca (int size); + extern "C" void* alloca (size_t size); #endif // NULL pointer.