projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c473fee
)
fix #18266 sprintf format mismatch
Hugo van der Sanden [Mon, 9 Dec 2002 00:14:58 +0000 (
00:14
+0000)]
p4raw-id: //depot/perl@18268
regcomp.c
patch
|
blob
|
blame
|
history
diff --git
a/regcomp.c
b/regcomp.c
index
1f53655
..
4813261
100644
(file)
--- a/
regcomp.c
+++ b/
regcomp.c
@@
-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);
}