key/key-misc.c: Fix bogus parentheses in macro.
[catacomb] / key / key-misc.c
index 80e9597..c3442f2 100644 (file)
@@ -42,7 +42,7 @@
 /*----- Useful macros -----------------------------------------------------*/
 
 #define KEY_WRITE(f) do {                                              \
-     if (!(f)->f & KF_WRITE)                                           \
+     if (!((f)->f & KF_WRITE))                                         \
        return (KERR_READONLY);                                         \
    } while (0)