(init_libfuncs): Add casts when comparing/incrementing enum.
From-SVN: r2708
This commit is contained in:
parent
efa89fb374
commit
fe0035ffbb
@ -3747,7 +3747,8 @@ init_libfuncs (optable, first_mode, last_mode, opname, suffix)
|
||||
register enum machine_mode mode;
|
||||
register unsigned opname_len = strlen (opname);
|
||||
|
||||
for (mode = first_mode; mode <= last_mode; mode++)
|
||||
for (mode = first_mode; (int) mode <= (int) last_mode;
|
||||
mode = (enum machine_mode) ((int) mode + 1))
|
||||
{
|
||||
register char *mname = mode_name[(int) mode];
|
||||
register unsigned mname_len = strlen (mname);
|
||||
|
Loading…
Reference in New Issue
Block a user