mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-20 10:43:29 +00:00
Use the correct type for alloca's size parameter.
Well, hopefully: it at least agrees with gcc's builtin version.
This commit is contained in:
parent
62face768f
commit
836215357a
1 changed files with 2 additions and 1 deletions
|
@ -61,7 +61,8 @@ AH_VERBATIM([HAVE_ALLOCA_PROTO],
|
|||
#undef HAVE_ALLOCA_PROTO
|
||||
#ifndef HAVE_ALLOCA_PROTO
|
||||
#ifndef QFASM
|
||||
void *alloca (int size);
|
||||
#include <stdlib.h>
|
||||
void *alloca (size_t size);
|
||||
#endif
|
||||
#endif])
|
||||
|
||||
|
|
Loading…
Reference in a new issue