summaryrefslogtreecommitdiff
path: root/perl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-04-03 15:41:26 +0000
committerNicholas Clark <nick@ccl4.org>2008-04-03 15:41:26 +0000
commit63da68370303e866ac043996a57db4b7e44b7270 (patch)
treec9a012b599e7c2232726a0c6999f30a72f2f4073 /perl.c
parentaedff202e428171aca34f30e105f7d4462b85de2 (diff)
downloadperl-63da68370303e866ac043996a57db4b7e44b7270.tar.gz
Clean up some compiler warnings spotted by smokers.
p4raw-id: //depot/perl@33639
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 57f2938a77..9813d6dcb3 100644
--- a/perl.c
+++ b/perl.c
@@ -3240,7 +3240,7 @@ Perl_moreswitches(pTHX_ const char *s)
if (colon)
Perl_croak(aTHX_ "Invalid module name %.*s with -%c option: "
"contains single ':'",
- s - start, start, option);
+ (int)(s - start), start, option);
end = s + strlen(s);
if (*s != '=') {
sv_catpvn(sv, start, end - start);