mirror of
https://github.com/xiph/opus.git
synced 2025-05-17 08:58:30 +00:00
Minus a bunch of warnings when enabling alloca()
This commit is contained in:
parent
e995c31f44
commit
e046c18acf
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@
|
|||
#define ALLOC(var, size, type) type var[size]
|
||||
#elif defined(USE_ALLOCA)
|
||||
#define VARDECL(var) var
|
||||
#define ALLOC(var, size, type) var = alloca(sizeof(type)*(size))
|
||||
#define ALLOC(var, size, type) var = ((type*)alloca(sizeof(type)*(size)))
|
||||
#else
|
||||
/*#define VARDECL(var) var
|
||||
#define ALLOC(var, size, type) var = PUSH(stack, size, type)*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue