From 16c35c458e78bc648196d44fb5a23d88f5d0f2cb Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 7 Jul 2007 16:31:57 +0000 Subject: [PATCH] fixed amb514 --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401052 --- sourcepawn/compiler/sc1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sourcepawn/compiler/sc1.c b/sourcepawn/compiler/sc1.c index 0c857f258..e05a8856b 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 */