diff --git a/sourcepawn/compiler/sc1.c b/sourcepawn/compiler/sc1.c index 0c857f25..e05a8856 100644 --- a/sourcepawn/compiler/sc1.c +++ b/sourcepawn/compiler/sc1.c @@ -2143,7 +2143,7 @@ static void declglb(char *firstname,int firsttag,int fpublic,int fstatic,int fst address=sizeof(cell)*glb_declared; glb_incr=(int)size; } /* if */ - if (address==sizeof(cell)*glb_declared) { + if (size != CELL_MAX && address==sizeof(cell)*glb_declared) { dumplits(); /* dump the literal queue */ dumpzero((int)size-litidx); } /* if */