]> andersk Git - splint.git/blobdiff - src/lclsyntable.c
noexpand always false.
[splint.git] / src / lclsyntable.c
index 43a968bdb03fb1b9a33cc9d72abb7390582b1560..b9d39c967cc5b93d9a2c0b6a21ee2f1b666c96ac 100644 (file)
@@ -1,6 +1,6 @@
 /*
 ** Splint - annotation-assisted static program checker
-** Copyright (C) 1994-2002 University of Virginia,
+** Copyright (C) 1994-2003 University of Virginia,
 **         Massachusetts Institute of Technology
 **
 ** This program is free software; you can redistribute it and/or modify it
@@ -17,8 +17,8 @@
 ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
 ** MA 02111-1307, USA.
 **
-** For information on lclint: lclint-request@cs.virginia.edu
-** To report a bug: lclint-bug@cs.virginia.edu
+** For information on splint: info@splint.org
+** To report a bug: splint-bug@splint.org
 ** For more information: http://www.splint.org
 */
 /*
@@ -37,7 +37,7 @@
 **  CREATION DATE:  90.08.10
 */
 
-# include "lclintMacros.nf"
+# include "splintMacros.nf"
 # include "basic.h"
 # include "lcltokentable.h"
 # include "lclsyntable.h"
@@ -121,7 +121,8 @@ AllocSynTable (void) /*@globals SynTable; @*/
     {
       /* First time SynTable allocated.  Set initial size. */
       newSize = INITSYNTABLE;
-      SynTable = (lsymbol *) dmalloc (newSize * sizeof (*SynTable));
+      SynTable = (lsymbol *) dmalloc 
+       (size_fromLongUnsigned (newSize * sizeof (*SynTable)));
     }
   else
     {
@@ -131,7 +132,8 @@ AllocSynTable (void) /*@globals SynTable; @*/
 
       /* Synonym table already allocated.  Calulate extension size. */
       newSize = (unsigned long) (DELTASYNTABLE * oldSize);
-      SynTable = (lsymbol *) dmalloc (newSize * sizeof (*SynTable));
+      SynTable = (lsymbol *) dmalloc 
+       (size_fromLongUnsigned (newSize * sizeof (*SynTable)));
 
       for (i = 0; i < oldSize; i++)
        {
This page took 0.529899 seconds and 4 git commands to generate.