[binutils-gdb] Fix compile time warning when building with Clang.
Nick Clifton
nickc@sourceware.org
Mon Aug 18 14:28:03 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b6ebe65cdac1afc15d5459318007be2d1d8832d0
commit b6ebe65cdac1afc15d5459318007be2d1d8832d0
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Aug 18 15:27:34 2025 +0100
Fix compile time warning when building with Clang.
PR 33282
Diff:
---
bfd/elf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bfd/elf.c b/bfd/elf.c
index 664fb6ced0a..6ef60301091 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. */
More information about the Binutils-cvs
mailing list