From: Tim Bunce Date: Thu, 11 Oct 2012 15:05:37 +0000 (+0100) Subject: fix compiler warning X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=448fb09759e628debab9db83a839ee8a60efecfb;p=p5sagit%2FDevel-Size.git fix compiler warning --- diff --git a/SizeMe.xs b/SizeMe.xs index 1a7a251..7650ee2 100644 --- a/SizeMe.xs +++ b/SizeMe.xs @@ -270,7 +270,7 @@ np_print_node_name(pTHX_ FILE *fp, npath_node_t *npath_node) const char *typename = (type == SVt_IV && SvROK(sv)) ? "RV" : svtypenames[type]; fprintf(fp, "SV(%s)", typename); switch(type) { /* add some useful details */ - case SVt_PVAV: fprintf(fp, " fill=%ld/%ld", av_len((AV*)sv), AvMAX((AV*)sv)); break; + case SVt_PVAV: fprintf(fp, " fill=%ld/%ld", (long)av_len((AV*)sv), AvMAX((AV*)sv)); break; case SVt_PVHV: fprintf(fp, " fill=%ld/%ld", HvFILL((HV*)sv), HvMAX((HV*)sv)); break; } break;