]> andersk Git - splint.git/blobdiff - src/lclsyntable.c
noexpand always false.
[splint.git] / src / lclsyntable.c
index e3e038a0d8449346164218246100c019b040baf2..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
@@ -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.118147 seconds and 4 git commands to generate.