summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-10-13 11:42:12 -0500
committerSteve Peters <steve@fisharerojo.org>2005-10-13 23:03:46 +0000
commit47ffb32a2ffcd2ea0bf80848350cc6b76e852751 (patch)
tree42d3d3344712d171624bc4d793b87f019234bba4 /perl.c
parentf51abeb88ea16b07f65be11865e77c279e9b1b72 (diff)
downloadperl-47ffb32a2ffcd2ea0bf80848350cc6b76e852751.tar.gz
Stas' croak patch and then some
Message-ID: <20051013214212.GA1122@petdance.com> p4raw-id: //depot/perl@25754
Diffstat (limited to 'perl.c')
-rw-r--r--perl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.c b/perl.c
index 42f32fed29..8f9951c502 100644
--- a/perl.c
+++ b/perl.c
@@ -3096,7 +3096,7 @@ Perl_moreswitches(pTHX_ char *s)
s+=strlen(s);
}
else if (*s != '\0') {
- Perl_croak(aTHX_ "Can't use '%c' after -A%.*s", *s, s-start, start);
+ Perl_croak(aTHX_ "Can't use '%c' after -A%.*s", *s, (int)(s-start), start);
}
av_push(PL_preambleav, sv);
return s;