summaryrefslogtreecommitdiff
path: root/warnings.h
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2005-06-22 13:02:17 +0000
committerSteve Hay <SteveHay@planit.com>2005-06-22 13:02:17 +0000
commit3b9e3074fddbae8590b8fbc95a2eac9fa7fc29f0 (patch)
tree7f111a4e670924d37cca13c7f54e04b5d1803993 /warnings.h
parent1c127fab650cf6427045f36d9e941565f5163fda (diff)
downloadperl-3b9e3074fddbae8590b8fbc95a2eac9fa7fc29f0.tar.gz
Silence some more bcc32 compiler warnings
("Suggest parentheses to clarify precedence") p4raw-id: //depot/perl@24938
Diffstat (limited to 'warnings.h')
-rw-r--r--warnings.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/warnings.h b/warnings.h
index 09aedb0613..a5ca60f6f1 100644
--- a/warnings.h
+++ b/warnings.h
@@ -144,10 +144,10 @@
isWARN_on(PL_curcop->cop_warnings, z) || \
isWARN_on(PL_curcop->cop_warnings, t) ) ) )
-#define packWARN(a) (a )
-#define packWARN2(a,b) ((a) | (b)<<8 )
-#define packWARN3(a,b,c) ((a) | (b)<<8 | (c) <<16 )
-#define packWARN4(a,b,c,d) ((a) | (b)<<8 | (c) <<16 | (d) <<24)
+#define packWARN(a) (a )
+#define packWARN2(a,b) ((a) | ((b)<<8) )
+#define packWARN3(a,b,c) ((a) | ((b)<<8) | ((c)<<16) )
+#define packWARN4(a,b,c,d) ((a) | ((b)<<8) | ((c)<<16) | ((d) <<24))
#define unpackWARN1(x) ((x) & 0xFF)
#define unpackWARN2(x) (((x) >>8) & 0xFF)