summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/bfd/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/binutils/bfd/format.c')
-rw-r--r--contrib/binutils/bfd/format.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/binutils/bfd/format.c b/contrib/binutils/bfd/format.c
index 1efa9e2..ef6b46e 100644
--- a/contrib/binutils/bfd/format.c
+++ b/contrib/binutils/bfd/format.c
@@ -132,7 +132,7 @@ bfd_check_format_matches (abfd, format, matching)
}
if (abfd->format != bfd_unknown)
- return abfd->format == format;
+ return (boolean) (abfd->format == format);
/* Since the target type was defaulted, check them
all in the hope that one will be uniquely recognized. */
@@ -355,7 +355,7 @@ bfd_set_format (abfd, format)
}
if (abfd->format != bfd_unknown)
- return abfd->format == format;
+ return (boolean) (abfd->format == format);
/* Presume the answer is yes. */
abfd->format = format;
OpenPOWER on IntegriCloud