]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix compile time warning when building with Clang.
authorNick Clifton <nickc@redhat.com>
Mon, 18 Aug 2025 14:27:34 +0000 (15:27 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 18 Aug 2025 14:27:34 +0000 (15:27 +0100)
PR 33282

bfd/elf.c

index 664fb6ced0aff6a9b4ebd9bf21843d584e41b43a..6ef603010918f14eda69f0d0dc1637b4d51e8157 100644 (file)
--- 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.  */