genautomata.c (reserv_sets_hash_value): Fix a typo.

2002-05-21  Vladimir Makarov  <vmakarov@redhat.com>

	* genautomata.c (reserv_sets_hash_value): Fix a typo.

From-SVN: r53710
This commit is contained in:
Vladimir Makarov 2002-05-21 23:27:04 +00:00 committed by Vladimir Makarov
parent dceb2b7510
commit 96b1f73b81
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-05-21 Vladimir Makarov <vmakarov@redhat.com>
* genautomata.c (reserv_sets_hash_value): Fix a typo.
2002-05-21 Vladimir Makarov <vmakarov@redhat.com>
* genautomata.c (reserv_sets_hash_value): Define hash_value as

View File

@ -3410,7 +3410,7 @@ reserv_sets_hash_value (reservs)
i = 0;
reserv_ptr++;
}
if (sizeof (set_el_t) < sizeof (unsigned))
if (sizeof (set_el_t) <= sizeof (unsigned))
return hash_value;
result = 0;
for (i = sizeof (set_el_t); i > 0; i -= sizeof (unsigned))