diff options
Diffstat (limited to 'gdb/xcoffexec.c')
-rw-r--r-- | gdb/xcoffexec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/xcoffexec.c b/gdb/xcoffexec.c index 892e2d8..2d57f92 100644 --- a/gdb/xcoffexec.c +++ b/gdb/xcoffexec.c @@ -358,7 +358,7 @@ xfer_memory (memaddr, myaddr, len, write, target) { /* Entire transfer is within this section. */ res = xfer_fn (p->bfd, p->the_bfd_section, myaddr, memaddr - p->addr, len); - return (res != false)? len: 0; + return (res != 0) ? len : 0; } else if (p->endaddr <= memaddr) { @@ -370,7 +370,7 @@ xfer_memory (memaddr, myaddr, len, write, target) /* This section overlaps the transfer. Just do half. */ len = p->endaddr - memaddr; res = xfer_fn (p->bfd, p->the_bfd_section, myaddr, memaddr - p->addr, len); - return (res != false)? len: 0; + return (res != 0) ? len : 0; } else if (p->addr < nextsectaddr) nextsectaddr = p->addr; |