From 0d95805c2ee6d6bbd42a71e7b82da1618b289b5c Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 21 Sep 2018 10:31:11 +0000 Subject: Suppress more -Wparentheses warnings [Fix GH-1958] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dir.c') diff --git a/dir.c b/dir.c index 2c1116eea9..c8aa40099b 100644 --- a/dir.c +++ b/dir.c @@ -177,7 +177,7 @@ has_nonascii(const char *ptr, size_t len) #endif #ifndef IFTODT -# define IFTODT(m) (((m) & S_IFMT) / ((~S_IFMT & S_IFMT-1) + 1)) +# define IFTODT(m) (((m) & S_IFMT) / ((~S_IFMT & (S_IFMT-1)) + 1)) #endif typedef enum { -- cgit v1.2.3