Commit eead07d6 authored by Karl Heuer's avatar Karl Heuer
Browse files

(GROW_FAIL_STACK): Fix test for stack size at max.

parent 3ad08c11
......@@ -1205,7 +1205,8 @@ typedef struct
#define FAIL_STACK_GROWTH_FACTOR 4
#define GROW_FAIL_STACK(fail_stack) \
((fail_stack).size >= re_max_failures * TYPICAL_FAILURE_SIZE \
(((fail_stack).size * sizeof (fail_stack_elt_t) \
>= re_max_failures * TYPICAL_FAILURE_SIZE) \
? 0 \
: ((fail_stack).stack \
= (fail_stack_elt_t *) \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment