]> andersk Git - splint.git/blobdiff - src/lcltokentable.c
Fixed all /*@i...@*/ tags (except 1).
[splint.git] / src / lcltokentable.c
index 21971addba6852c02ff2550ec06134ebd11764dc..3c2ab73a605260a093ebee20b5ccf25e61d09916 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
@@ -29,7 +29,7 @@
 */
 
 # include "splintMacros.nf"
-# include "llbasic.h"
+# include "basic.h"
 # include "lcltokentable.h"
 
 static long unsigned MaxToken; 
@@ -161,7 +161,8 @@ static void
     {
       newSize = INITTOKENTABLE;
       llassert (LCLTokenTable == NULL);
-      LCLTokenTable = (ltoken *) dmalloc (newSize * sizeof (*LCLTokenTable));
+      LCLTokenTable = (ltoken *) dmalloc 
+       (size_fromLongUnsigned (newSize * sizeof (*LCLTokenTable)));
     }
   else
     {
@@ -170,7 +171,8 @@ static void
       llassert (oldLCLTokenTable != NULL);
 
       newSize = (long unsigned) (DELTATOKENTABLE * oldSize);
-      LCLTokenTable = (ltoken *) dmalloc (newSize * sizeof (*LCLTokenTable));
+      LCLTokenTable = (ltoken *) dmalloc 
+       (size_fromLongUnsigned (newSize * sizeof (*LCLTokenTable)));
 
       for (i = 0; i < oldSize; i++)
        {
This page took 0.032782 seconds and 4 git commands to generate.