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
commit551405c409d33bc8cd0a20177c4ee21a204d18b5 (patch)
tree42d3d3344712d171624bc4d793b87f019234bba4 /perl.c
parentb1681ed3d2d7fce28f676043b07816f4fad94f55 (diff)
downloadperl-551405c409d33bc8cd0a20177c4ee21a204d18b5.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;