/*
** 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
{
/* First time SynTable allocated. Set initial size. */
newSize = INITSYNTABLE;
- SynTable = (lsymbol *) dmalloc (newSize * sizeof (*SynTable));
+ SynTable = (lsymbol *) dmalloc
+ (size_fromLongUnsigned (newSize * sizeof (*SynTable)));
}
else
{
/* 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++)
{