]> andersk Git - splint.git/blobdiff - src/tokentable.c
Fixed all /*@i...@*/ tags (except 1).
[splint.git] / src / tokentable.c
index 66d9322395d99d571e7f3a2fc44d1a66023e47c0..6b0e891ec8e0b4c5371ac064192abdb02a06b77c 100644 (file)
@@ -1,6 +1,6 @@
 /*
-** LCLint - annotation-assisted static program checker
-** Copyright (C) 1994-2000 University of Virginia,
+** Splint - annotation-assisted static program checker
+** Copyright (C) 1994-2003 University of Virginia,
 **         Massachusetts Institute of Technology
 **
 ** This program is free software; you can redistribute it and/or modify it
 ** 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 more information: http://lclint.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
 */
 /*
 ** tokentable.c
 */
 
-# include "lclintMacros.nf"
-# include "llbasic.h"
+# include "splintMacros.nf"
+# include "basic.h"
 # include "osd.h"
 # include "tokentable.h"
 
@@ -126,14 +126,16 @@ AllocTokenTable (void)
     {
       newSize = INITTOKENTABLE;
       llassert (TokenTable == NULL);
-      TokenTable = (ltoken *) dmalloc (newSize * sizeof (*TokenTable)); 
+      TokenTable = (ltoken *) 
+       dmalloc (size_fromLongUnsigned (newSize * sizeof (*TokenTable))); 
     }
   else
     {
       o_ltoken *oldTokenTable = TokenTable;
 
       newSize = (long unsigned) (DELTATOKENTABLE * oldSize);
-      TokenTable = (ltoken *) dmalloc (newSize * sizeof (*TokenTable));
+      TokenTable = (ltoken *) 
+       dmalloc (size_fromLongUnsigned (newSize * sizeof (*TokenTable)));
 
       llassert (oldSize > 0);
       llassert (oldTokenTable != NULL);
This page took 0.102753 seconds and 4 git commands to generate.