diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-07-28 20:55:31 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-07-28 21:24:02 -0400 |
commit | 9cd990bfb433aa02bf17c9b9f23ddc7c56a9a016 (patch) | |
tree | 98a14231f446cf027357750cd265664b6e4a2522 /regexec.c | |
parent | a5a49cbf4d6eb36d453c1c5eb58984d66bb4b45e (diff) | |
download | perl-9cd990bfb433aa02bf17c9b9f23ddc7c56a9a016.tar.gz |
Negatives as UVs: sign-extension intentional, add cast.
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3636,8 +3636,8 @@ S_setup_EXACTISH_ST_c1_c2(pTHX_ const regnode * const text_node, int *c1p, const bool utf8_target = reginfo->is_utf8_target; - UV c1 = CHRTEST_NOT_A_CP_1; - UV c2 = CHRTEST_NOT_A_CP_2; + UV c1 = (UV)CHRTEST_NOT_A_CP_1; + UV c2 = (UV)CHRTEST_NOT_A_CP_2; bool use_chrtest_void = FALSE; const bool is_utf8_pat = reginfo->is_utf8_pat; |