X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/1b8ae6904556859bbe91aadf35b8adcc1a0611ce..e5081f8c08424e4511d50a3b1fc187666c95852c:/src/lcltokentable.c diff --git a/src/lcltokentable.c b/src/lcltokentable.c index 034f3d5..dfb206b 100644 --- a/src/lcltokentable.c +++ b/src/lcltokentable.c @@ -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 */ /* @@ -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++) {