From: Nick Clifton Date: Mon, 18 Aug 2025 14:27:34 +0000 (+0100) Subject: Fix compile time warning when building with Clang. X-Git-Tag: gdb-17-branchpoint~261 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b6ebe65cdac1afc15d5459318007be2d1d8832d0;p=thirdparty%2Fbinutils-gdb.git Fix compile time warning when building with Clang. PR 33282 --- 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. */