summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--op.c2
-rw-r--r--pp_hot.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/op.c b/op.c
index ba25603414..7c649fc93a 100644
--- a/op.c
+++ b/op.c
@@ -7302,7 +7302,7 @@ Perl_ck_join(pTHX_ OP *o)
const STRLEN len = re ? re->prelen : 6;
Perl_warner(aTHX_ packWARN(WARN_SYNTAX),
"/%.*s/ should probably be written as \"%.*s\"",
- len, pmstr, len, pmstr);
+ (int)len, pmstr, (int)len, pmstr);
}
}
return ck_fun(o);
diff --git a/pp_hot.c b/pp_hot.c
index aa225c37da..ca9e5a693a 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -788,7 +788,7 @@ PP(pp_rv2av)
static const char an_array[] = "an ARRAY";
static const char a_hash[] = "a HASH";
const bool is_pp_rv2av = PL_op->op_type == OP_RV2AV;
- const U32 type = is_pp_rv2av ? SVt_PVAV : SVt_PVHV;
+ const svtype type = is_pp_rv2av ? SVt_PVAV : SVt_PVHV;
if (SvROK(sv)) {
wasref: