]> andersk Git - splint.git/blobdiff - src/tokentable.c
Fixed all /*@i...@*/ tags (except 1).
[splint.git] / src / tokentable.c
index 4663da50a20edc1a6c2bb7dd38c04677fa41a423..6b0e891ec8e0b4c5371ac064192abdb02a06b77c 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 splint: splint@cs.virginia.edu
-** To report a bug: splint-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
 */
 /*
@@ -26,7 +26,7 @@
 */
 
 # include "splintMacros.nf"
-# include "llbasic.h"
+# 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.470886 seconds and 4 git commands to generate.