Passify GCC.
This commit is contained in:
parent
bf5ac1b8ed
commit
4113ba4cd7
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue