Passify GCC.

This commit is contained in:
Andrew Cagney 1997-08-30 00:01:12 +00:00
parent bf5ac1b8ed
commit 4113ba4cd7
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Sat Aug 30 09:40:47 1997 Andrew Cagney <cagney@b1.cygnus.com>
* insns (do_trap): Unsigned `i' for unsigned iterator.
(do_trap): Ditto for comparison with getpid.
Wed Aug 27 18:13:22 1997 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.

View File

@ -1161,7 +1161,7 @@ void::function::do_trap:unsigned32 trap_number
}
case 4: /* WRITE */
{
int i;
unsigned i;
if (GPR(2) == 1)
for (i = 0; i < GPR(6); i++)
{
@ -1189,7 +1189,7 @@ void::function::do_trap:unsigned32 trap_number
break;
}
case 37: /* KILL */
if (GPR (2) != getpid ())
if ( GPR (2) != (unsigned) getpid ())
{
int ret = kill (GPR(2), GPR(4));
if (ret < 0)