summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-16 09:26:53 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-16 09:26:53 +0000
commit447ff9551c50798a747b45c129b114764be73459 (patch)
treefc818b1592d3b6f0413f5156819d2c7d66e7540e /regcomp.c
parent9eaf016b1f0ee5c9f1c466e7c9deb66c2a8c9605 (diff)
downloadperl-447ff9551c50798a747b45c129b114764be73459.tar.gz
type mismatch for %c format argument (spotted by Robin Barker
<rmb1@cise.npl.co.uk>) p4raw-id: //depot/perl@4683
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regcomp.c b/regcomp.c
index 83438e90a0..f93519010a 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -2918,7 +2918,7 @@ S_regclass(pTHX)
Perl_warner(aTHX_ WARN_UNSAFE,
"/%.127s/: Unrecognized escape \\%c in character class passed through",
PL_regprecomp,
- value);
+ (int)value);
break;
}
}
@@ -3391,7 +3391,7 @@ S_regclassutf8(pTHX)
Perl_warner(aTHX_ WARN_UNSAFE,
"/%.127s/: Unrecognized escape \\%c in character class passed through",
PL_regprecomp,
- value);
+ (int)value);
break;
}
}