aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2025-08-18 15:27:34 +0100
committerNick Clifton <nickc@redhat.com>2025-08-18 15:27:34 +0100
commitb6ebe65cdac1afc15d5459318007be2d1d8832d0 (patch)
treee8fe320068ba10e4940413137c29ea8e769742cd
parentd412728cda0e7d14a46cfbe6beb6e2c65088f301 (diff)
downloadbinutils-b6ebe65cdac1afc15d5459318007be2d1d8832d0.zip
binutils-b6ebe65cdac1afc15d5459318007be2d1d8832d0.tar.gz
binutils-b6ebe65cdac1afc15d5459318007be2d1d8832d0.tar.bz2
Fix compile time warning when building with Clang.
PR 33282
-rw-r--r--bfd/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 664fb6c..6ef6030 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -51,7 +51,7 @@ SECTION
/* Utility macro to make testing for string equality easier to read. */
#ifndef streq
-#define streq(A,B) strcmp ((A), (B)) == 0
+#define streq(A,B) (strcmp ((A), (B)) == 0)
#endif
/* Core note names. */