summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2006-12-12 17:49:51 +0000
committerSteve Hay <SteveHay@planit.com>2006-12-12 17:49:51 +0000
commit2fbd95182c64b8e753ad9c73dfca52cbf4473140 (patch)
tree494761276a14c3bd1098c932e68d55b0ddbbb046 /sv.h
parent60777a0ddefff116b2ee80376468ae1812a47dcc (diff)
downloadperl-2fbd95182c64b8e753ad9c73dfca52cbf4473140.tar.gz
Silence VC warnings about possible operator precedence problems
and signed/unsigned mismatches p4raw-id: //depot/perl@29532
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sv.h b/sv.h
index 8849a3e045..5417759e4d 100644
--- a/sv.h
+++ b/sv.h
@@ -1353,10 +1353,10 @@ the scalar's value cannot change unless written to.
# define BmUSEFUL(sv) ((XPVBM*) SvANY(sv))->xiv_u.xivu_i32
# define BmPREVIOUS(sv) \
- (*(U8*)(SvEND(sv) + PERL_FBM_TABLE_OFFSET \
+ ((*(U8*)(SvEND(sv) + PERL_FBM_TABLE_OFFSET \
+ PERL_FBM_PREVIOUS_H_OFFSET_FROM_TABLE) << 8) \
- | (*(U8*)(SvEND(sv) + PERL_FBM_TABLE_OFFSET \
- + PERL_FBM_PREVIOUS_L_OFFSET_FROM_TABLE)) \
+ | (*(U8*)(SvEND(sv) + PERL_FBM_TABLE_OFFSET \
+ + PERL_FBM_PREVIOUS_L_OFFSET_FROM_TABLE))) \
#endif
#define BmPREVIOUS_set(sv, val) \