diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-02-23 09:01:54 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-02-23 09:12:20 -0700 |
commit | dbeb8947c09c5d0f027aba8bb6db953a7ae36235 (patch) | |
tree | 159af678ae98e62c19ad33cc792782acfba4980a /regcomp.c | |
parent | cae25c36199a38a849dc218d1db9c5fe1938f8dc (diff) | |
download | perl-dbeb8947c09c5d0f027aba8bb6db953a7ae36235.tar.gz |
regcomp.c: Add cast to silence Solaris warning
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2715,7 +2715,7 @@ S_join_exact(pTHX_ RExC_state_t *pRExC_state, regnode *scan, UV *min_subtract, b * This uses an exclusive 'or' to find that bit and then inverts it to * form a mask, with just a single 0, in the bit position where 'S' and * 's' differ. */ - const U8 S_or_s_mask = ~ ('S' ^ 's'); + const U8 S_or_s_mask = (U8) ~ ('S' ^ 's'); const U8 s_masked = 's' & S_or_s_mask; /* One pass is made over the node's string looking for all the |