mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 04:55:21 +02:00
Suppress more -Wparentheses warnings
[Fix GH-1958] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2def52500f
commit
0d95805c2e
4 changed files with 7 additions and 4 deletions
2
dir.c
2
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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue