* src/output.c (output_short_table, output_short_or_char_table):

Change the prototype to use `int' for array ranges: some
invocations do pass an int, not a short.
Reported by Wayne Green.
This commit is contained in:
Akim Demaille
2001-12-27 18:28:23 +00:00
parent f4ffa313a2
commit d6b12c2d8b
3 changed files with 10 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ output_short_or_char_table (struct obstack *oout,
const char *table_name,
short *short_table,
short first_value,
short begin, short end)
int begin, int end)
{
int i, j;
@@ -169,7 +169,7 @@ output_short_table (struct obstack *oout,
const char *table_name,
short *short_table,
short first_value,
short begin, short end)
int begin, int end)
{
output_short_or_char_table (oout, comment, "short", table_name, short_table,
first_value, begin, end);