Browse Source

* src/base/cl_macros.h: alloca(3) has size_t argument type.

master
Richard Kreckel 21 years ago
parent
commit
7a0e86b187
  1. 4
      ChangeLog
  2. 4
      src/base/cl_macros.h

4
ChangeLog

@ -1,3 +1,7 @@
2004-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* src/base/cl_macros.h: alloca(3) has size_t argument type.
2004-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* include/cln/floatformat.h: Do define a type here.

4
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 <malloc.h> // 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.
Loading…
Cancel
Save