aboutsummaryrefslogtreecommitdiff
path: root/tccpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tccpp.c')
-rw-r--r--tccpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tccpp.c b/tccpp.c
index 91c2aee..4aa8b95 100644
--- a/tccpp.c
+++ b/tccpp.c
@@ -1741,7 +1741,7 @@ pack_error:
if(def->off >= def->size){
int size = def->size;
size *= 2;
- if (size >= MACRO_STACK_SIZE)
+ if (size > MACRO_STACK_SIZE)
tcc_error("stack full");
def->data = tcc_realloc(def->data, size*sizeof(Sym*));
def->size = size;