@@ -6264,7 +6264,7 @@ S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth)
62646264 * multi-char folds, so allocate extra space for that. We can't
62656265 * make any other length assumptions, as a byte input sequence
62666266 * could shrink down. */
6267- Ptrdiff_t current_string_nodes = STR_SZ(max_string_len
6267+ ptrdiff_t current_string_nodes = STR_SZ(max_string_len
62686268 + ((! FOLD)
62696269 ? 0
62706270 : 2 * ((UTF)
@@ -7168,7 +7168,7 @@ S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth)
71687168 Size_t new_size = size
71697169 + (oldp - redo_p)
71707170 + UTF8_MAXBYTES_CASE + 1;
7171- Ptrdiff_t e_offset = redo_e - locfold_buf;
7171+ ptrdiff_t e_offset = redo_e - locfold_buf;
71727172
71737173 Renew(locfold_buf, new_size, char);
71747174 Renew(loc_correspondence, new_size, Size_t);
@@ -7445,7 +7445,7 @@ S_regatom(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth)
74457445 /* Free up any over-allocated space; cast is to silence bogus
74467446 * warning in MS VC */
74477447 change_engine_size(pRExC_state,
7448- - (Ptrdiff_t ) (current_string_nodes - STR_SZ(len)));
7448+ - (ptrdiff_t ) (current_string_nodes - STR_SZ(len)));
74497449
74507450 /* I (khw) don't know if you can get here with zero length, but the
74517451 * old code handled this situation by creating a zero-length EXACT
@@ -12781,7 +12781,7 @@ S_nextchar(pTHX_ RExC_state_t *pRExC_state)
1278112781}
1278212782
1278312783STATIC void
12784- S_change_engine_size(pTHX_ RExC_state_t *pRExC_state, const Ptrdiff_t size)
12784+ S_change_engine_size(pTHX_ RExC_state_t *pRExC_state, const ptrdiff_t size)
1278512785{
1278612786 /* 'size' is the delta number of smallest regnode equivalents to add or
1278712787 * subtract from the current memory allocated to the regex engine being
@@ -12820,7 +12820,7 @@ S_regnode_guts(pTHX_ RExC_state_t *pRExC_state, const STRLEN extra_size)
1282012820 PERL_ARGS_ASSERT_REGNODE_GUTS;
1282112821
1282212822 SIZE_ALIGN(RExC_size);
12823- change_engine_size(pRExC_state, (Ptrdiff_t ) 1 + extra_size);
12823+ change_engine_size(pRExC_state, (ptrdiff_t ) 1 + extra_size);
1282412824 NODE_ALIGN_FILL(REGNODE_p(ret));
1282512825 return(ret);
1282612826}
@@ -12940,7 +12940,7 @@ S_reginsert(pTHX_ RExC_state_t *pRExC_state, const U8 op,
1294012940 assert(!RExC_study_started); /* I believe we should never use reginsert once we have started
1294112941 studying. If this is wrong then we need to adjust RExC_recurse
1294212942 below like we do with RExC_open_parens/RExC_close_parens. */
12943- change_engine_size(pRExC_state, (Ptrdiff_t ) size);
12943+ change_engine_size(pRExC_state, (ptrdiff_t ) size);
1294412944 src = REGNODE_p(RExC_emit);
1294512945 RExC_emit += size;
1294612946 dst = REGNODE_p(RExC_emit);
0 commit comments