diff options
author | Hugo van der Sanden <hv@crypt.org> | 2002-12-09 00:14:58 +0000 |
---|---|---|
committer | hv <hv@crypt.org> | 2002-12-09 00:14:58 +0000 |
commit | d994d9a1b8a73bc9fe2d24db293df04097139d91 (patch) | |
tree | b0f2f077a56743c1d05b66a149d57810d6d11b35 /regcomp.c | |
parent | c473feecc28308679db0cf6f8fc1f902de2584d6 (diff) | |
download | perl-d994d9a1b8a73bc9fe2d24db293df04097139d91.tar.gz |
fix #18266 sprintf format mismatch
p4raw-id: //depot/perl@18268
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5075,7 +5075,7 @@ Perl_save_re_context(pTHX) if (PL_curpm && (rx = PM_GETRE(PL_curpm))) { for (i = 1; i <= rx->nparens; i++) { - sprintf(digits, "%lu", i); + sprintf(digits, "%lu", (long)i); if ((mgv = gv_fetchpv(digits, FALSE, SVt_PV))) save_scalar(mgv); } |