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;