We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb18df4 commit d02d745Copy full SHA for d02d745
regexec.c
@@ -227,7 +227,7 @@ STATIC CHECKPOINT
227
S_regcppush(pTHX_ const regexp *rex, I32 parenfloor, U32 maxopenparen _pDEPTH)
228
{
229
const int retval = PL_savestack_ix;
230
- const int paren_bytes_to_push = sizeof(*rex->offs) * (maxopenparen - parenfloor);
+ const SSize_t paren_bytes_to_push = sizeof(*rex->offs) * (maxopenparen - parenfloor);
231
/* Number of savestack[] entries to be filled by the paren data */
232
const int paren_elems_to_push = (paren_bytes_to_push + sizeof(*PL_savestack) - 1) / sizeof(*PL_savestack);
233
const UV total_elems = paren_elems_to_push + REGCP_OTHER_ELEMS;
0 commit comments