mirror of
https://github.com/xiph/opus.git
synced 2025-05-15 16:08:30 +00:00
Silences gcc warning
warning: expression does not compute the number of elements in this array Seems like gcc thinks we're trying to get the number of elements in our array or something like that. It then suggests adding parentheses to silence the warning.
This commit is contained in:
parent
b75bd48d82
commit
512e6270ea
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ extern char *global_stack_top;
|
|||
#else
|
||||
|
||||
#define ALIGN(stack, size) ((stack) += ((size) - (long)(stack)) & ((size) - 1))
|
||||
#define PUSH(stack, size, type) (ALIGN((stack),sizeof(type)/sizeof(char)),(stack)+=(size)*(sizeof(type)/sizeof(char)),(type*)((stack)-(size)*(sizeof(type)/sizeof(char))))
|
||||
#define PUSH(stack, size, type) (ALIGN((stack),sizeof(type)/(sizeof(char))),(stack)+=(size)*(sizeof(type)/(sizeof(char))),(type*)((stack)-(size)*(sizeof(type)/(sizeof(char)))))
|
||||
#if 0 /* Set this to 1 to instrument pseudostack usage */
|
||||
#define RESTORE_STACK (printf("%ld %s:%d\n", global_stack-scratch_ptr, __FILE__, __LINE__),global_stack = _saved_stack)
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue