summaryrefslogtreecommitdiff
path: root/bfd/libbfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/libbfd.c')
-rw-r--r--bfd/libbfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/libbfd.c b/bfd/libbfd.c
index a397d8215d..29170a0d56 100644
--- a/bfd/libbfd.c
+++ b/bfd/libbfd.c
@@ -1353,8 +1353,8 @@ _bfd_generic_get_section_contents_in_window (abfd, section, w, offset, count)
return bfd_get_section_contents (abfd, section, w->data, offset, count);
}
if (offset + count > section->_raw_size
- || (bfd_get_file_window (abfd, section->filepos + offset, count, w, true)
- == false))
+ || ! bfd_get_file_window (abfd, section->filepos + offset, count, w,
+ true))
return false;
return true;
#else