summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorPeter Martini <PeterCMartini@GMail.com>2013-07-09 23:07:10 -0400
committerFather Chrysostomos <sprout@cpan.org>2013-07-09 21:27:45 -0700
commitd80cf4708315ac91f3033203b385761c18e3ba25 (patch)
tree3307b21beef3f2f462b5870c2efffba145bd05ff /util.c
parent4c9b78f4fff91b5c7e4f74e09e1bc2838c0f740f (diff)
downloadperl-d80cf4708315ac91f3033203b385761c18e3ba25.tar.gz
Quiet warning in a DEBUG print
The variable type is STRLEN, and the format code is expecting a UV, so just cast it to UV to quiet a warning.
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 2904500392..ffd41b9044 100644
--- a/util.c
+++ b/util.c
@@ -599,7 +599,7 @@ Perl_fbm_compile(pTHX_ SV *sv, U32 flags)
if (flags & FBMcf_TAIL)
SvTAIL_on(sv);
DEBUG_r(PerlIO_printf(Perl_debug_log, "rarest char %c at %"UVuf"\n",
- s[rarest], rarest));
+ s[rarest], (UV)rarest));
}
/* If SvTAIL(littlestr), it has a fake '\n' at end. */