1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 21:19:24 +00:00

Portability fixes.

This commit is contained in:
Bruno Haible
2003-03-03 14:28:09 +00:00
parent ea37cea17b
commit 9fa3ac42b3
8 changed files with 34 additions and 16 deletions

View File

@@ -90,10 +90,12 @@ Hash_Table::~Hash_Table ()
int field_width;
field_width = 0;
for (int i = _size - 1; i >= 0; i--)
if (_table[i])
if (field_width < _table[i]->_selchars_length)
field_width = _table[i]->_selchars_length;
{
for (int i = _size - 1; i >= 0; i--)
if (_table[i])
if (field_width < _table[i]->_selchars_length)
field_width = _table[i]->_selchars_length;
}
fprintf (stderr,
"\ndumping the hash table\n"