summaryrefslogtreecommitdiffstats
path: root/include/pttstruct.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pttstruct.h')
-rw-r--r--include/pttstruct.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index eb2edb5c..1e4074f2 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -302,7 +302,7 @@ typedef struct msgque_t {
} msgque_t;
#define ALERT_NEW_MAIL 1
-#define ISNEWMAIL(utmp) utmp->alerts & ALERT_NEW_MAIL
+#define ISNEWMAIL(utmp) (utmp->alerts & ALERT_NEW_MAIL)
#define ALERT_PWD_PERM 2
#define ALERT_PWD_BADPOST 4
#define ALERT_PWD_GOODPOST 8