Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/ext2fs sprinkle ()s in macros with comparisons, shut...



details:   https://anonhg.NetBSD.org/src/rev/f3e28dd70d8a
branches:  trunk
changeset: 347082:f3e28dd70d8a
user:      macallan <macallan%NetBSD.org@localhost>
date:      Fri Aug 12 20:26:15 2016 +0000

description:
sprinkle ()s in macros with comparisons, shuts up compiler warnings

diffstat:

 sys/ufs/ext2fs/ext2fs.h |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (26 lines):

diff -r 1edab77cc5c8 -r f3e28dd70d8a sys/ufs/ext2fs/ext2fs.h
--- a/sys/ufs/ext2fs/ext2fs.h   Fri Aug 12 20:25:34 2016 +0000
+++ b/sys/ufs/ext2fs/ext2fs.h   Fri Aug 12 20:26:15 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ext2fs.h,v 1.42 2016/08/12 19:04:03 jdolecek Exp $     */
+/*     $NetBSD: ext2fs.h,v 1.43 2016/08/12 20:26:15 macallan Exp $     */
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -342,12 +342,12 @@
        "\01INCOMPAT_COMP"
 
 #define EXT2F_HAS_COMPAT_FEATURE(ip, feature) \
-       (ip)->i_e2fs->e2fs.e2fs_rev >= E2FS_REV1 && \
-       ((ip)->i_e2fs->e2fs.e2fs_features_compat & (feature)) != 0
+       ((ip)->i_e2fs->e2fs.e2fs_rev >= E2FS_REV1 && \
+       ((ip)->i_e2fs->e2fs.e2fs_features_compat & (feature)) != 0)
 
 #define EXT2F_HAS_INCOMPAT_FEATURE(ip, feature) \
-       (ip)->i_e2fs->e2fs.e2fs_rev >= E2FS_REV1 && \
-       ((ip)->i_e2fs->e2fs.e2fs_features_incompat & (feature)) != 0
+       ((ip)->i_e2fs->e2fs.e2fs_rev >= E2FS_REV1 && \
+       ((ip)->i_e2fs->e2fs.e2fs_features_incompat & (feature)) != 0)
 
 /*
  * Features supported in this implementation



Home | Main Index | Thread Index | Old Index